예:
@Test(expectedExceptions = Exception.class) // 경고: 기대되는 'Exception'이 던져지지 않음 public void testEngineIsRunning() { assertTrue(engine.isRunning()); }