コード例 #1
0
ファイル: FailActionTest.java プロジェクト: rotorliu/bazel
 @Test
 public void testExecutingItYieldsExceptionWithErrorMessage() {
   try {
     failAction.execute(null);
     fail();
   } catch (ActionExecutionException e) {
     assertThat(e).hasMessage(errorMessage);
   }
 }