invocations = new DefaultRegisteredInvocations();
}
@Test
public void should_not_return_to_string_method() throws Exception {
Invocation toString = new InvocationBuilder().method("toString").toInvocation();
Invocation simpleMethod = new InvocationBuilder().simpleMethod().toInvocation();
invocations.add(toString);
invocations.add(simpleMethod);
assertTrue(invocations.getAll().contains(simpleMethod));