Fix name of test and modifier

This commit is contained in:
michal_aibin 2016-11-13 09:57:45 +01:00
parent 9b0aa76e7e
commit e356d28325

View File

@ -17,7 +17,7 @@ public class ExceptionTest {
}
@Test
public void convertToIntNullParameterAssertThrows() {
void assertThrowsException() {
String str = null;
assertThrows(IllegalArgumentException.class, () -> {
Integer.valueOf(str);