Add @Test annotation

This commit is contained in:
Gang 2019-08-25 11:13:21 -06:00
parent 0630b2dffc
commit 2796491d84

View File

@ -19,6 +19,7 @@ public class CheckedUncheckedExceptionsUnitTest {
}); });
} }
@Test
public void whenTryCatchExcetpion_thenSuccess() { public void whenTryCatchExcetpion_thenSuccess() {
try { try {
CheckedUncheckedExceptions.checkedExceptionWithTryCatch(); CheckedUncheckedExceptions.checkedExceptionWithTryCatch();