Method name typo

This commit is contained in:
Alex Golub 2022-04-21 10:30:44 +03:00
parent 0af6112abf
commit 95aff67d58
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class ExceptionAssertionUnitTest {
}
@Test
void whenDerivedExceptionThrown_thenAssertionSucceds() {
void whenDerivedExceptionThrown_thenAssertionSucceeds() {
Exception exception = assertThrows(RuntimeException.class, () -> Integer.parseInt("1a"));
String expectedMessage = "For input string";