@Test(expected = AssertionError.class)
public void addThrowsIfAddGroupFails() throws Exception {

  addActionConfig.addType = Arrays.asList("group");
  addActionConfig.name = group.getName();
  when(keywhizClient.getGroupByName(addActionConfig.name)).thenReturn(group);
  addAction.run();
}