Entries from 2018-06-06 to 1 day
Exception を throw する可能性のある method のテストを書く時今までは @Test(expected = NantokaException.class) とアノテーションをつけたり try { nantokaService.doNantoka(); } catch (NantokaException e) { assertThat(e.getMessage()).isEqualTo("…
Exception を throw する可能性のある method のテストを書く時今までは @Test(expected = NantokaException.class) とアノテーションをつけたり try { nantokaService.doNantoka(); } catch (NantokaException e) { assertThat(e.getMessage()).isEqualTo("…