1 22 package org.jboss.test.mx.mxbean.test; 23 24 import javax.management.ObjectName ; 25 26 import org.jboss.mx.util.ObjectNameFactory; 27 28 import junit.framework.Test; 29 import junit.framework.TestSuite; 30 31 37 public class CompositeDataObjectNameUnitTestCase extends CompositeDataTest 38 { 39 public static Test suite() 40 { 41 return new TestSuite(CompositeDataObjectNameUnitTestCase.class); 42 } 43 44 public CompositeDataObjectNameUnitTestCase(String name) 45 { 46 super(name); 47 } 48 49 public void testObjectName() throws Exception 50 { 51 constructReconstructTest(ObjectNameFactory.create("domain:key=property")); 52 } 53 54 public void testObjectNameNull() throws Exception 55 { 56 constructReconstructTest(null, ObjectName .class); 57 } 58 } 59 | Popular Tags |