Package org.assertstruct.service
Class AssertStructService
java.lang.Object
org.assertstruct.service.AssertStructService
- All Implemented Interfaces:
ResourceSourceLocator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertStruct(@NonNull String expected, Object actualValue) voidassertStruct(@NonNull String expected, Object actualValue, String message) voidassertStruct(@NonNull Res expected, Object actualValue) voidassertStruct(@NonNull Res expected, Object pojoActualValue, String message, StackTraceElement el) lookupSourceLocation(ResourceLocation location) voidsave(MatchResult match, File matchFile) with()
-
Constructor Details
-
AssertStructService
-
-
Method Details
-
with
-
lookupSourceLocation
- Specified by:
lookupSourceLocationin interfaceResourceSourceLocator
-
assertStruct
-
assertStruct
-
assertStruct
-
assertStruct
public void assertStruct(@NonNull @NonNull Res expected, Object pojoActualValue, String message, StackTraceElement el) throws org.opentest4j.AssertionFailedError - Throws:
org.opentest4j.AssertionFailedError
-
match
-
match
-
jsonify
-
save
-
parse
- Throws:
TemplateParseException
-