@Test public void testMethod() { int expectedCount = 13; EvaluationData.countEvaluationDatas(); org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl.expectReturn(expectedCount); org.springframework.mock.staticmock.AnnotationDrivenStaticEntityMockingControl.playback(); org.junit.Assert.assertEquals(expectedCount, EvaluationData.countEvaluationDatas()); }
public static long countEvaluationDatas() { return entityManager().createQuery("SELECT COUNT(o) FROM EvaluationData o", Long.class).getSingleResult(); }
EvaluationData { public static long countEvaluationDatas() { return entityManager().createQuery("SELECT COUNT(o) FROM EvaluationData o", Long.class).getSingleResult(); } }
EvaluationData { public static long countEvaluationDatas() { return entityManager().createQuery("SELECT COUNT(o) FROM EvaluationData o", Long.class).getSingleResult(); }  }
EvaluationData { public static long countEvaluationDatas() { return entityManager().createQuery("SELECT COUNT(o) FROM EvaluationData o", Long.class).getSingleResult(); }  String toString(); String getInvolvedItems(); void setInvolvedItems(String involvedItems); Long getId(); void setId(Long id); Integer getVersion(); void setVersion(Integer version); @Transactional void persist(); @Transactional void remove(); @Transactional void flush(); @Transactional void clear(); @Transactional EvaluationData merge(); static final EntityManager entityManager(); static long countEvaluationDatas(); static List<EvaluationData> findAllEvaluationDatas(); static List<EvaluationData> findAllLogRegisterEvaluationDatas(); static EvaluationData findEvaluationData(Long id); static List<EvaluationData> findEvaluationDataEntries(int firstResult, int maxResults); Date getEvaluationdate(); void setEvaluationdate(Date evaluationdate); String getClientid(); String getTenantId(); void setTenantId(String tenantId); void setClientid(String clientid); String getEvaluationaction(); void setEvaluationaction(String evaluationaction); String getCurrentplace(); void setCurrentplace(String currentplace); String getCurrsituationid(); void setCurrsituationid(String currsituationid); String getViewstack(); void setViewstack(String viewstack); }
EvaluationData { public static long countEvaluationDatas() { return entityManager().createQuery("SELECT COUNT(o) FROM EvaluationData o", Long.class).getSingleResult(); }  String toString(); String getInvolvedItems(); void setInvolvedItems(String involvedItems); Long getId(); void setId(Long id); Integer getVersion(); void setVersion(Integer version); @Transactional void persist(); @Transactional void remove(); @Transactional void flush(); @Transactional void clear(); @Transactional EvaluationData merge(); static final EntityManager entityManager(); static long countEvaluationDatas(); static List<EvaluationData> findAllEvaluationDatas(); static List<EvaluationData> findAllLogRegisterEvaluationDatas(); static EvaluationData findEvaluationData(Long id); static List<EvaluationData> findEvaluationDataEntries(int firstResult, int maxResults); Date getEvaluationdate(); void setEvaluationdate(Date evaluationdate); String getClientid(); String getTenantId(); void setTenantId(String tenantId); void setClientid(String clientid); String getEvaluationaction(); void setEvaluationaction(String evaluationaction); String getCurrentplace(); void setCurrentplace(String currentplace); String getCurrsituationid(); void setCurrsituationid(String currsituationid); String getViewstack(); void setViewstack(String viewstack); final static String EVALUATIONDATA_ACTION_REGISTER; }