/// <summary> /// Test a bean equals method for the primary purpose of increasing test coverage. /// <para> /// The two beans passed in should contain a different value for each property. /// The method creates a cross-product to ensure test coverage of equals. /// /// </para> /// </summary> /// <param name="bean1"> the first bean to test </param> /// <param name="bean2"> the second bean to test </param> public static void coverBeanEquals(Bean bean1, Bean bean2) { JodaBeanTests.coverBeanEquals(bean1, bean2); }
/// <summary> /// Test an immutable bean for the primary purpose of increasing test coverage. /// </summary> /// <param name="bean"> the bean to test </param> public static void coverImmutableBean(ImmutableBean bean) { JodaBeanTests.coverImmutableBean(bean); }