@Test(expected = IllegalArgumentException.class)
public void unassignThrowsIfInvalidType() throws Exception {

  unassignActionConfig.unassignType = Arrays.asList("invalid_type");
  unassignActionConfig.name = "General_Password";
  unassignActionConfig.group = group.getName();
  when(keywhizClient.getGroupByName(group.getName())).thenReturn(group);
  unassignAction.run();
}