use of ca.corefacility.bioinformatics.irida.service.CRUDService in project irida by phac-nml.
the class GenericControllerTest method setUp.
@Before
@SuppressWarnings("unchecked")
public void setUp() {
crudService = mock(CRUDService.class);
entity = new IdentifiableTestEntity();
identifier = 1L;
entity.setId(identifier);
controller = new RESTGenericController<IdentifiableTestEntity>(crudService, IdentifiableTestEntity.class) {
};
updatedFields = new HashMap<>();
}
Aggregations