Examples of EntityA


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

        assertEquals(entityA.getIntProperty(), copy.getIntProperty());
    }

    @Test
    public void nullPropertiesKeepBeingNull() {
        EntityA entityA = new EntityA();
        EntityA copy = new DeepCopy().copy(entityA);
        assertThat(copy.getNullProperty(), nullValue());
    }
View Full Code Here

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

        assertThat(copy.getNullProperty(), nullValue());
    }

    @Test
    public void enumPropertiesAreShared() {
        EntityA entityA = new EntityA();
        entityA.setEnumProperty(TestEnum.A);
        EntityA copy = new DeepCopy().copy(entityA);
        assertSame(TestEnum.A, copy.getEnumProperty());
    }
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.