public void verificationTest() {
Foo foo = mock(Foo.class);
foo.doSomething("");
verify(foo).doSomething("");
}
<BUG>}
private void assertThatHasBeenNotified(RememberingListener listener, Object mock, VerificationMode mode, Method invocationWanted) {
assertThat(listener.mock).isEqualTo(mock);
assertThat(listener.mode).isEqualTo(mode);
assertThat(listener.data.getTarget().getInvocation().getMethod()).isEqualTo(invocationWanted);</BUG>
}

public void verificationTest() {
Foo foo = mock(Foo.class);
foo.doSomething("");
verify(foo).doSomething("");
}
}
