@Test public void wtf_wtfIsFatalIsSet_shouldThrowTerribleFailure() { ShadowLog.setWtfIsFatal(true); Throwable throwable = new Throwable(); try { Log.wtf("tag", "msg", throwable); fail("TerribleFailure should be thrown"); } catch (ShadowLog.TerribleFailure e) { // pass } assertLogged(Log.ASSERT, "tag", "msg", throwable); }