@Test
public void addCallsAddForGroup() throws Exception {

  addActionConfig.addType = Arrays.asList("group");
  addActionConfig.name = group.getName();
  when(keywhizClient.getGroupByName(group.getName())).thenThrow(new NotFoundException());
  addAction.run();
  verify(keywhizClient).createGroup(addActionConfig.name, "", ImmutableMap.of());
}