@Test
public void test_call() throws Exception {

    ArgumentCaptor<User> user = forClass(User.class);
    assertThat(new DelApiKeyTask(apiKeyRepository, User.local()).call()).isNotNull();
    verify(apiKeyRepository).delete(user.capture());
    assertThat(user.getValue()).isEqualTo(User.local());
}