@Test
public void unassignCallsUnassignForClient() throws Exception {

  unassignActionConfig.unassignType = Arrays.asList("client");
  unassignActionConfig.name = client.getName();
  unassignActionConfig.group = group.getName();
  when(keywhizClient.getGroupByName(group.getName())).thenReturn(group);
  when(keywhizClient.getClientByName(client.getName())).thenReturn(client);
  when(keywhizClient.groupDetailsForId(group.getId())).thenReturn(groupDetailResponse);
  unassignAction.run();
  verify(keywhizClient).evictClientFromGroupByIds(client.getId(), group.getId());
}