use of org.summerb.approaches.jdbccrud.api.EasyCrudService in project summerb by skarpushin.
the class GenericCrudServiceTestTemplate method testServiceResolver_expectOneServicesFound.
@SuppressWarnings("rawtypes")
@Test
public void testServiceResolver_expectOneServicesFound() {
EasyCrudService service = easyCrudServiceResolver.resolveByEntityType(TestDto1.class.getCanonicalName());
assertNotNull(service);
assertEquals(TestDto1.class.getCanonicalName(), service.getEntityTypeMessageCode());
}
Aggregations