ReflectionAssert { public static void assertLenientEquals(Object expected, Object actual) throws AssertionFailedError { assertLenientEquals(null, expected, actual); }  static void assertLenientEquals(Object expected, Object actual); static void assertReflectionEquals(
      Object expected,
      Object actual,
      ReflectionComparatorMode... modes
  ); static void assertLenientEquals(String message, Object expected, Object actual); static void assertReflectionEquals(
      String message,
      Object expected,
      Object actual,
      ReflectionComparatorMode... modes
  ); static void assertPropertyLenientEquals(
      String propertyName,
      Object expectedPropertyValue,
      Object actualObject
  ); static void assertPropertyReflectionEquals(
      String propertyName,
      Object expectedPropertyValue,
      Object actualObject,
      ReflectionComparatorMode... modes
  ); static void assertPropertyLenientEquals(
      String message,
      String propertyName,
      Object expectedPropertyValue,
      Object actualObject
  ); static void assertPropertyReflectionEquals(
      String message,
      String propertyName,
      Object expectedPropertyValue,
      Object actualObject,
      ReflectionComparatorMode... modes
  ); static void assertPropertyLenientEquals(
      String propertyName,
      Collection<?> expectedPropertyValues,
      Collection<?> actualObjects
  ); static void assertPropertyReflectionEquals(
      String propertyName,
      Collection<?> expectedPropertyValues,
      Collection<?> actualObjects,
      ReflectionComparatorMode... modes
  ); static void assertPropertyLenientEquals(
      String message,
      String propertyName,
      Collection<?> expectedPropertyValues,
      Collection<?> actualObjects
  ); static void assertPropertiesNotNull(String message, Object object); static void assertPropertyReflectionEquals(
      String message,
      String propertyName,
      Collection<?> expectedPropertyValues,
      Collection<?> actualObjects,
      ReflectionComparatorMode... modes
  ); static void assertAccessablePropertiesNotNull(String message, Object object);  }
@Test void testAssertLenientEquals_equalsLenientOrder() { assertLenientEquals( asList("element1", "element2", "element3"), asList("element3", "element1", "element2") ); }
@Test void testAssertLenientEquals_equalsIgnoredDefault() { testObjectAString.setString1(null); testObjectBString.setString1("xxxxxx"); assertLenientEquals(testObjectAString, testObjectBString); }
@Test void testAssertLenientEquals_formatArraysMessage() { try { assertLenientEquals(new String[]{"test1", "test2"}, new Integer[]{1, 2}); } catch (AssertionFailedError a) { assertTrue(a.getMessage().contains("[\"test1\", \"test2\"]")); assertTrue(a.getMessage().contains("[1, 2]")); } }
@Test void testAssertLenientEquals_equals() { assertLenientEquals(testObjectAString, testObjectBString); }
@Test void testAssertLenientEquals_equalsMessage() { assertLenientEquals("a message", testObjectAString, testObjectBString); }