Fix name of test and modifier
This commit is contained in:
parent
9b0aa76e7e
commit
e356d28325
@ -17,7 +17,7 @@ public class ExceptionTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void convertToIntNullParameterAssertThrows() {
|
void assertThrowsException() {
|
||||||
String str = null;
|
String str = null;
|
||||||
assertThrows(IllegalArgumentException.class, () -> {
|
assertThrows(IllegalArgumentException.class, () -> {
|
||||||
Integer.valueOf(str);
|
Integer.valueOf(str);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user