Uses of Class
org.bct.api.AssertionArgs
-
Uses of AssertionArgs in org.bct.api
Methods in org.bct.api that return AssertionArgsModifier and TypeMethodDescriptionstatic AssertionArgsBctAssertions.args()Creates a newAssertionArgsinstance for configuring assertion behavior.AssertionArgs.setBeanConverter(BeanConverter value) Sets a customBeanConverterfor object introspection and property access.AssertionArgs.setMessage(String message, Object... args) Sets a parameterized error message for assertion failures.AssertionArgs.setMessage(Supplier<String> value) Sets a custom error message supplier for assertion failures.Methods in org.bct.api with parameters of type AssertionArgsModifier and TypeMethodDescriptionstatic voidBctAssertions.assertBean(AssertionArgs args, Object actual, String fields, String expected) Same asBctAssertions.assertBean(Object, String, String)but with configurable assertion behavior.static voidBctAssertions.assertBeans(AssertionArgs args, Object actual, String fields, String... expected) Same asBctAssertions.assertBeans(Object, String, String...)but with configurable assertion behavior.static voidBctAssertions.assertContains(AssertionArgs args, String expected, Object actual) Same asBctAssertions.assertContains(String, Object)but with configurable assertion behavior.static voidBctAssertions.assertContainsAll(AssertionArgs args, Object actual, String... expected) Same asBctAssertions.assertContainsAll(Object, String...)but with configurable assertion behavior.static voidBctAssertions.assertEmpty(AssertionArgs args, Object value) Same asBctAssertions.assertEmpty(Object)but with configurable assertion behavior.static voidBctAssertions.assertList(AssertionArgs args, Object actual, Object... expected) Same asBctAssertions.assertList(Object, Object...)but with configurable assertion behavior.static <T> voidBctAssertions.assertMapped(AssertionArgs args, T actual, BiFunction<T, String, Object> function, String properties, String expected) Same asBctAssertions.assertMapped(Object, BiFunction, String, String)but with configurable assertion behavior.static voidBctAssertions.assertMatchesGlob(AssertionArgs args, String pattern, Object value) Same asBctAssertions.assertMatchesGlob(String, Object)but with configurable assertion behavior.static voidBctAssertions.assertNotEmpty(AssertionArgs args, Object value) Same asBctAssertions.assertNotEmpty(Object)but with configurable assertion behavior.static voidBctAssertions.assertSize(AssertionArgs args, int expected, Object actual) Same asBctAssertions.assertSize(int, Object)but with configurable assertion behavior.static voidBctAssertions.assertString(AssertionArgs args, String expected, Object actual) Same asBctAssertions.assertString(String, Object)but with configurable assertion behavior.