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

  addActionConfig.addType = Arrays.asList("invalid_type");
  addActionConfig.name = "any-name";
  addAction.run();
}