Example #1
0
 /// <summary>
 /// Asserts that two beans are equal.
 /// Provides better error messages than a normal {@code assertEquals} comparison.
 /// <para>
 /// This provides extra detail used when debugging an issue.
 /// Normal use should be to call <seealso cref="#assertEqualsBean(Bean, Bean)"/>.
 ///
 /// </para>
 /// </summary>
 /// <param name="actual">  the actual bean under test </param>
 /// <param name="expected">  the expected bean </param>
 public static void assertEqualsBeanDetailed(Bean actual, Bean expected)
 {
     BeanAssert.assertBeanEqualsFullDetail(expected, actual);
 }
Example #2
0
 //-------------------------------------------------------------------------
 /// <summary>
 /// Asserts that two beans are equal.
 /// Provides better error messages than a normal {@code assertEquals} comparison.
 /// </summary>
 /// <param name="actual">  the actual bean under test </param>
 /// <param name="expected">  the expected bean </param>
 public static void assertEqualsBean(Bean actual, Bean expected)
 {
     BeanAssert.assertBeanEquals(expected, actual);
 }