Beispiel #1
0
 @Test
 public void testCommentText() {
   assertEquals(
       okTestResultSkip.getComments().get(0).getText(),
       "This status is set to true in another method.");
   okTestResult.setComments(Collections.<Comment>emptyList());
   assertTrue(okTestResult.getComments().size() == 0);
 }