@Test public void exceptionのタイプがマッチしない() throws Exception { assertThat( Controllers.exceptionMatch(Exception.class, IllegalArgumentException.class), is(false)); }
@Test public void exceptionのタイプがマッチする() throws Exception { assertThat(Controllers.exceptionMatch(Exception.class, Exception.class), is(true)); }