Package dynaop

Examples of dynaop.MixinFactory


*/
public class InstanceMixinFactoryTestCase extends TestCase {

    public void testCreate() {
        Object instance = "foo";
        MixinFactory factory = new InstanceMixinFactory(instance);
        assertSame(instance, factory.create(null));
    }
View Full Code Here


        MixinFactory factory = new InstanceMixinFactory(instance);
        assertSame(instance, factory.create(null));
    }

    public void testPropertiesNotNull() {
        MixinFactory factory = new InstanceMixinFactory("foo");
        assertNotNull(factory.getProperties());
    }
View Full Code Here

TOP

Related Classes of dynaop.MixinFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.