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

  deleteActionConfig.deleteType = Arrays.asList("invalid_type");
  deleteActionConfig.name = "any-name";
  deleteAction.run();
}