Mockito argumentcaptor annotation. Tools and technologies used in this example are Java 1.