Uses of Class
org.mongounit.model.AssertionResult
-
Uses of AssertionResult in org.mongounit
Modifier and TypeMethodDescriptionstatic AssertionResult
MongoUnitUtil.assertMatches
(List<MongoUnitCollection> expected, List<MongoUnitCollection> actual, MongoUnitProperties mongoUnitProperties) Returns AnAssertionResult
with a 'match' of 'true' if the provided 'expected' and 'actual' lists ofMongoUnitCollection
s match according to the MongoUnit framework rules, or with 'false' otherwise.static AssertionResult
MongoUnitUtil.assertMatches
(Map<String, Object> expectedDocument, Map<String, Object> actualDocument, MongoUnitProperties mongoUnitProperties) Returns anAssertionResult
with a 'match' of 'true' if the provided 'expectedDocument' and 'actualDocument' match according to the MongoUnit framework rules, or with 'false' otherwise.static AssertionResult
MongoUnitUtil.assertMatches
(MongoUnitCollection expected, MongoUnitCollection actual, MongoUnitProperties mongoUnitProperties) Returns AnAssertionResult
with a 'match' of 'true' if the provided 'expected' and 'actual'MongoUnitCollection
s match according to the MongoUnit framework rules, or with 'false' otherwise.static AssertionResult
MongoUnitUtil.assertMatchesMongoUnitValue
(Map<String, Object> expectedMongoUnitValue, Object actualValue, String fieldNameIndicator) ReturnsAssertionResult
with a 'match' of 'true' if the provided 'expectedValue' and 'actualValue' match according to the MongoUnit framework rules, or with 'false' otherwise.static AssertionResult
MongoUnitUtil.assertMatchesValue
(Object expectedValue, Object actualValue, MongoUnitProperties mongoUnitProperties) -
Uses of AssertionResult in org.mongounit.model