@Test public void testedOnLimitsParameters() throws Exception { assertThat(testResult(ParameterAnnotations.class), ResultMatchers .isSuccessful()); }
@Test public void hasFailuresHasGoodDescription() { assertThat(ResultMatchers.failureCountIs(3).toString(), is("has 3 failures")); }
@Theory public void hasFailuresDescriptionReflectsInput(int i) { assertThat(ResultMatchers.failureCountIs(i).toString(), containsString("" + i)); }