Package org.mongounit.model
Class AssertionResult.AssertionResultBuilder
java.lang.Object
org.mongounit.model.AssertionResult.AssertionResultBuilder
- Enclosing class:
AssertionResult
AssertionResult.AssertionResultBuilder
class is a builder pattern class for the AssertionResult
class.-
Method Details
-
match
- Parameters:
match
- Flag to indicate if the match was found or not.- Returns:
- Instance of this builder class.
-
message
- Parameters:
message
- Optional message, which is usually used as an assertion failure message to give more details.- Returns:
- Instance of this builder class.
-
build
- Returns:
- New instance of the
AssertionResult
class with the previously set properties.
-
toString
-