@Test
public void shouldCaptureArguments() {
//given
InvocationMarker marker = new InvocationMarker();
Invocation i = new InvocationBuilder().toInvocation();
final ObjectBox box = new ObjectBox();
CapturesArgumensFromInvocation c = new CapturesArgumensFromInvocation() {
public void captureArgumentsFrom(Invocation i) {
box.put(i);
}};
//when
marker.markVerified(Arrays.asList(i), c);
//then
assertEquals(i, box.getObject());
}