}
@Test
public void should_log_count_of_interactions() {
// when & then
listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, new ThirdPartyException()));
assertThat(printed()).contains("#1");
listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, new ThirdPartyException()));
assertThat(printed()).contains("#2");
listener.reportInvocation(new NotifiedMethodInvocationReport(invocation, new ThirdPartyException()));
assertThat(printed()).contains("#3");
}