Class CollectionAsserts

java.lang.Object
de.cuioss.test.valueobjects.property.util.CollectionAsserts

public final class CollectionAsserts extends Object
Helper class for asserts on Collection level
Author:
Oliver Wolff
  • Constructor Details

  • 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 null
      expected -
      actual -