Package org.cedj.geekseek.domain.persistence.test.unit.BaseEntityTimestampableSpecificionTestCase

Examples of org.cedj.geekseek.domain.persistence.test.unit.BaseEntityTimestampableSpecificionTestCase.TestBaseEntity.onUpdate()


    }

    @Test
    public void shouldNotLeakUpdatedDate() throws Exception {
        TestBaseEntity base = new TestBaseEntity();
        base.onUpdate();

        Date date = base.getLastUpdated();
        date.setTime(100);

        Assert.assertNotEquals(date, base.getLastUpdated());
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.