Skip to content

Commit b43b20a

Browse files
Update core-java-modules/core-java-lang-3/src/test/java/com/baeldung/checkclassexistence/CheckClassExistenceUnitTest.java
Co-authored-by: KevinGilmore <[email protected]>
1 parent 18a08ce commit b43b20a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-java-modules/core-java-lang-3/src/test/java/com/baeldung/checkclassexistence/CheckClassExistenceUnitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static class InitializingClass {
1313
}
1414

1515
@Test(expected = ClassNotFoundException.class) //thrown when class does not exist
16-
public void givenNonExistingClass_whenUsingForName_classNotFound() throws ClassNotFoundException {
16+
public void givenNonExistingClass_whenUsingForName_thenClassNotFound() throws ClassNotFoundException {
1717
Class.forName("class.that.does.not.exist");
1818
}
1919

0 commit comments

Comments
 (0)