@Test void testAssertThat() { assertThat(0, n -> (n == 0), "Zero must be zero"); testAssertFails(() -> assertThat(0, n -> n != 0, "Zero must be zero"), "BuilderUtils.assertThat() should have failed!"); }
public static <T> void assertThat(T value, Predicate<T> assertion, String exceptionMessage) throws AxonConfigurationException { Assert.assertThat(value, assertion, () -> new AxonConfigurationException(exceptionMessage)); }
BuilderUtils { public static <T> void assertThat(T value, Predicate<T> assertion, String exceptionMessage) throws AxonConfigurationException { Assert.assertThat(value, assertion, () -> new AxonConfigurationException(exceptionMessage)); } }
BuilderUtils { public static <T> void assertThat(T value, Predicate<T> assertion, String exceptionMessage) throws AxonConfigurationException { Assert.assertThat(value, assertion, () -> new AxonConfigurationException(exceptionMessage)); } private  BuilderUtils(); }
BuilderUtils { public static <T> void assertThat(T value, Predicate<T> assertion, String exceptionMessage) throws AxonConfigurationException { Assert.assertThat(value, assertion, () -> new AxonConfigurationException(exceptionMessage)); } private  BuilderUtils(); static void assertThat(T value,
                                      Predicate<T> assertion,
                                      String exceptionMessage); static void assertNonNull(T value, String exceptionMessage); static void assertPositive(int i, String exceptionMessage); static void assertPositive(long l, String exceptionMessage); static void assertStrictPositive(int i, String exceptionMessage); static void assertStrictPositive(long l, String exceptionMessage); static void assertNonEmpty(String string, String exceptionMessage); }
BuilderUtils { public static <T> void assertThat(T value, Predicate<T> assertion, String exceptionMessage) throws AxonConfigurationException { Assert.assertThat(value, assertion, () -> new AxonConfigurationException(exceptionMessage)); } private  BuilderUtils(); static void assertThat(T value,
                                      Predicate<T> assertion,
                                      String exceptionMessage); static void assertNonNull(T value, String exceptionMessage); static void assertPositive(int i, String exceptionMessage); static void assertPositive(long l, String exceptionMessage); static void assertStrictPositive(int i, String exceptionMessage); static void assertStrictPositive(long l, String exceptionMessage); static void assertNonEmpty(String string, String exceptionMessage);  }