1718192021222324
*/ public class InstanceMixinFactoryTestCase extends TestCase { public void testCreate() { Object instance = "foo"; MixinFactory factory = new InstanceMixinFactory(instance); assertSame(instance, factory.create(null)); }
2223242526272829
MixinFactory factory = new InstanceMixinFactory(instance); assertSame(instance, factory.create(null)); } public void testPropertiesNotNull() { MixinFactory factory = new InstanceMixinFactory("foo"); assertNotNull(factory.getProperties()); }