From 0424e939977567ac844765de730121b7a2a75cfb Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 31 Dec 2017 19:22:28 +0000 Subject: [PATCH] Suppress warnings --- src/test/java/net/kemitix/mon/MonTest.java | 3 +++ 1 file changed, 3 insertions(+) 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))