Update core-java-modules/core-java-lang-3/src/test/java/com/baeldung/checkclassexistence/CheckClassExistenceUnitTest.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
This commit is contained in:
parent
1624cd3387
commit
576d3c5f42
|
@ -18,7 +18,7 @@ public class CheckClassExistenceUnitTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenExistingClass_whenUsingForName_noException() throws ClassNotFoundException {
|
public void givenExistingClass_whenUsingForName_thenNoException() throws ClassNotFoundException {
|
||||||
Class.forName("java.lang.String");
|
Class.forName("java.lang.String");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue