From 6cf9a98c496212f749d46993390180401cf5f068 Mon Sep 17 00:00:00 2001
From: Justin Bertram <jbertram@apache.org>
Date: Thu, 30 Mar 2017 11:38:58 -0500
Subject: [PATCH] ARTEMIS-1065 fix broken test

---
 .../management/ActiveMQServerControlUsingCoreTest.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java
index ad2d813d30..cd8db34c24 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/management/ActiveMQServerControlUsingCoreTest.java
@@ -255,7 +255,7 @@ public class ActiveMQServerControlUsingCoreTest extends ActiveMQServerControlTes
          @Override
          public String[] getQueueNames(String routingType) {
             try {
-               return (String[]) proxy.invokeOperation("getQueueNames", routingType);
+               return (String[]) proxy.invokeOperation(String.class, "getQueueNames", routingType);
             } catch (Exception e) {
                e.printStackTrace();
             }