Package dynaop

Examples of dynaop.MixinFactory.create()


public class InstanceMixinFactoryTestCase extends TestCase {

    public void testCreate() {
        Object instance = "foo";
        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
Copyright © 2018 www.massapi.com. 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.