{
if (isJavaBroker())
{
startBrokerAndCreateMonitor(true, false);
final JMXTestUtils jmxUtils = new JMXTestUtils(this);
List<String> openResults = null;
List<String> closeResults = null;
try
{
jmxUtils.setUp();
jmxUtils.open();
openResults = waitAndFindMatches("MNG-1007");
}
finally
{
if (jmxUtils != null)
{
jmxUtils.close();
closeResults = waitAndFindMatches("MNG-1008");
}
}
assertNotNull("Management Open results null", openResults.size());