collector.checkThat("reason 2", 9, is(16));
}
}
@Test public void usedErrorCollectorCheckThatShouldFail() {
PrintableResult testResult= testResult(UsesErrorCollectorCheckThat.class);
assertThat(testResult, hasFailureContaining("got: <3>"));
assertThat(testResult, hasFailureContaining("got: <5>"));
assertThat(testResult, hasFailureContaining("reason 1"));
assertThat(testResult, hasFailureContaining("got: <7>"));
assertThat(testResult, hasFailureContaining("reason 2"));