@Test void testAssertNonNull() { assertNonNull(this, "This is not null"); testAssertFails(() -> assertNonNull(null, "Null should be null"), "BuilderUtils.assertNonNull() should have failed on value null."); }
public static <T> void assertNonNull(T value, String exceptionMessage) throws AxonConfigurationException { assertThat(value, Objects::nonNull, exceptionMessage); }
BuilderUtils { public static <T> void assertNonNull(T value, String exceptionMessage) throws AxonConfigurationException { assertThat(value, Objects::nonNull, exceptionMessage); } }
BuilderUtils { public static <T> void assertNonNull(T value, String exceptionMessage) throws AxonConfigurationException { assertThat(value, Objects::nonNull, exceptionMessage); } private  BuilderUtils(); }
BuilderUtils { public static <T> void assertNonNull(T value, String exceptionMessage) throws AxonConfigurationException { assertThat(value, Objects::nonNull, 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 assertNonNull(T value, String exceptionMessage) throws AxonConfigurationException { assertThat(value, Objects::nonNull, 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);  }