CRUDTest Data
Parameters
Id type of the data
Model type of the data which is a CRUDModel
Entity type of the data which is a CRUDEntity
Create model type of the data which is a CRUDCreateModel
Update model type of the data which is a CRUDUpdateModel
Test data type of the data which is a CRUDTestData, meant to be the concrete type that extends this class
Constructors
Properties
Pairs of PageRequest and Paged as test cases for pagination where the Paged is the expected result for the given PageRequest
Instance of a InMemoryCRUDRepository containing test entities
Functions
Check if two entities are duplicates, this should reflect your unique constraint on the DB
Mapper to convert from given entity to create model
Mapper to convert from given entity to update model with some modifications
Mapper to convert from given entity to update model with no modifications