Examples of SubClassExample


Examples of org.libreplan.business.util.deepcopy.EntityExamples.SubClassExample

        };
    }

    @Test
    public void itCopiesInheritedPropertiesToo() {
        SubClassExample subClassExample = new SubClassExample();
        subClassExample.setSuperClassStringProperty("foo");
        SubClassExample copy = new DeepCopy().copy(subClassExample);
        assertThat(copy.getSuperClassStringProperty(), equalTo("foo"));
    }
View Full Code Here

Examples of org.libreplan.business.util.deepcopy.EntityExamples.SubClassExample

    }

    @Test
    public void superclassAfterHooksAreCalled() {
        DeepCopy deepCopy = new DeepCopy();
        SubClassExample subclass = deepCopy.copy(new SubClassExample());
        assertTrue(subclass.isAfterCopyHookCalled());
    }
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.