Examples of IdHolder


Examples of se.plushogskolan.jee.utils.domain.IdHolder

  @Test
  public void testFindById() {

    long id = getRepository().persist(getEntity1());
    IdHolder entity = getRepository().findById(id);
    assertNotNull("Entity is not null", entity);
    assertEquals("Id is correct", id, entity.getId());
  }
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.