We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i.E.: compare(readModuleDto).with(savedModule) .properties() .all() useConverter<Long,IdentifiableEntity>((a,b) -> { if(b.contains("id")){ return a.equals(b.getId().toString()) }) .assertEqual();
will compare longs with propertynames containing "id" to respective entity.getId()
The text was updated successfully, but these errors were encountered:
otherwise looks more like this: compare(readModuleDto).with(savedModule) .properties() .all() .ignore(readModuleDto::getExerciseGroupIds) .ignore(readModuleDto::getSchoolId) .assertEqual();
Assertions.assertEquals(objectGraphFactory.getSchool().getId(),readModuleDto.getSchoolId()); Assertions.assertEquals(objectGraphFactory.getSchool(),savedModule.getSchool());
Sorry, something went wrong.
work on #2.
9232f6d
start some ideas regarding #2.
ef8a1ed
No branches or pull requests
i.E.:
compare(readModuleDto).with(savedModule)
.properties()
.all()
useConverter<Long,IdentifiableEntity>((a,b) -> {
if(b.contains("id")){
return a.equals(b.getId().toString())
})
.assertEqual();
will compare longs with propertynames containing "id" to respective entity.getId()
The text was updated successfully, but these errors were encountered: