CRUDService Test
abstract class CRUDServiceTest<I : Serializable, E : CRUDEntity<I, E>, M : CRUDModel<I>, CM : CRUDCreateModel, UM : CRUDUpdateModel, Mapper : CRUDMapper<I, E, M, CM, UM>, S : CRUDService<I, E, M, CM, UM, Mapper>, TestData : CRUDTestData<I, E, M, CM, UM>>(typeName: String, mapper: Mapper, testData: TestData)(source)
Base class for unit tests of CRUD services
Parameters
I
Id type of the data
E
Entity type of the data which is a CRUDEntity
M
Model type of the data which is a CRUDModel
CM
Create model type of the data which is a CRUDCreateModel
UM
Update model type of the data which is a CRUDUpdateModel
Mapper
Mapper type of the data which is a CRUDMapper
Test Data
Test data type of the data which is a CRUDTestData
S
Service type of the data which is a CRUDService