@Test
public void deleteCallsDeleteForGroup() throws Exception {

  deleteAction.inputStream = yes;
  deleteActionConfig.deleteType = Arrays.asList("group");
  deleteActionConfig.name = "Web";
  Group group = new Group(0, deleteActionConfig.name, null, null, null, null, null, null);
  when(keywhizClient.getGroupByName(deleteActionConfig.name)).thenReturn(group);
  deleteAction.run();
  verify(keywhizClient).deleteGroupWithId(group.getId());
}