Class CollectionAsserts
java.lang.Object
de.cuioss.test.valueobjects.property.util.CollectionAsserts
Helper class for asserts on Collection level
- Author:
- Oliver Wolff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertListsAreEqualIgnoringOrder
(String propertyName, Object expected, Object actual) Checks whether two Collection elements are equal ignoring the order.
-
Constructor Details
-
CollectionAsserts
public CollectionAsserts()
-
-
Method Details
-
assertListsAreEqualIgnoringOrder
public static void assertListsAreEqualIgnoringOrder(String propertyName, Object expected, Object actual) Checks whether two Collection elements are equal ignoring the order.- Parameters:
propertyName
- the name of the property, used for creating the error-message, must not be nullexpected
-actual
-
-