From e356d283256c45a67ec5b81003b21c5d97f49d31 Mon Sep 17 00:00:00 2001 From: michal_aibin Date: Sun, 13 Nov 2016 09:57:45 +0100 Subject: [PATCH] Fix name of test and modifier --- junit5/src/test/java/com/baeldung/ExceptionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/junit5/src/test/java/com/baeldung/ExceptionTest.java b/junit5/src/test/java/com/baeldung/ExceptionTest.java index b32f9344b7..31a6dff657 100644 --- a/junit5/src/test/java/com/baeldung/ExceptionTest.java +++ b/junit5/src/test/java/com/baeldung/ExceptionTest.java @@ -17,7 +17,7 @@ public class ExceptionTest { } @Test - public void convertToIntNullParameterAssertThrows() { + void assertThrowsException() { String str = null; assertThrows(IllegalArgumentException.class, () -> { Integer.valueOf(str);