diff --git a/src/test/java/net/kemitix/mon/MonTest.java b/src/test/java/net/kemitix/mon/MonTest.java index 7e5f8e2..abe6a55 100644 --- a/src/test/java/net/kemitix/mon/MonTest.java +++ b/src/test/java/net/kemitix/mon/MonTest.java @@ -93,6 +93,7 @@ public class MonTest { } @Test + @SuppressWarnings("ResultOfMethodCallIgnored") public void factoryRequiresValidator() { assertThatNullPointerException().isThrownBy( () -> Mon.factory(null, Optional::of, Optional::empty)) @@ -100,6 +101,7 @@ public class MonTest { } @Test + @SuppressWarnings("ResultOfMethodCallIgnored") public void factoryRequiresOnValid() { assertThatNullPointerException().isThrownBy( () -> Mon.factory(v -> true, null, Optional::empty)) @@ -107,6 +109,7 @@ public class MonTest { } @Test + @SuppressWarnings("ResultOfMethodCallIgnored") public void factoryRequiresOnInvalid() { assertThatNullPointerException().isThrownBy( () -> Mon.factory(v -> true, Optional::of, null))