package com.fenixinfotech.jmx.playpen;

import com.fenixinfotech.jmx.playpen.MbeanMonitor;

import static org.junit.Assert.*;

public class MbeanMonitorTest
{

    @org.junit.Test
    public void testConnect() throws Exception
    {
        new MbeanMonitor();
        assertTrue(true); // TODO add real test
    }
}
@@ -44,50 +44,22 @@
 ort 
-com.fenixinfotech.jmx.playpen.MbeanMonitor
+org.junit.Test
 ;%0A%0Ai
@@ -92,9 +92,18 @@
 ert.
-*
+assertTrue
 ;%0A%0Ap
@@ -137,24 +137,13 @@
 t%0A%7B%0A
-%0A
     @
-org.junit.
 Test
@@ -208,25 +208,104 @@
     
-new MbeanMonitor(
+MbeanMonitor mbeanMonitor = new MbeanMonitor();%0A        mbeanMonitor.connect(%22localhost%22, %224444%22
 );%0A 

Connect to local JMX for unit test