@Test
public void deleteCallsDeleteForClient() throws Exception {

  deleteAction.inputStream = yes;
  deleteActionConfig.deleteType = Arrays.asList("client");
  deleteActionConfig.name = "newClient";
  Client client = new Client(657, "newClient", null, null, NOW, null, NOW, null, null, null, true,
      false);
  when(keywhizClient.getClientByName(deleteActionConfig.name)).thenReturn(client);
  deleteAction.run();
  verify(keywhizClient).deleteClientWithId(client.getId());
}