CreateMetacardRolloverAction extends BaseRolloverAction { @Override public String toString() { return "CreateMetacardRolloverAction{" + "metacardTypeList=" + metacardTypeList + '}'; } CreateMetacardRolloverAction(List<MetacardType> metacardTypeList); @Override MetacardImpl doAction(MetacardImpl metacard, File tempFile); @Override String toString();  }
@Test public void testToString() { CreateMetacardRolloverAction createMetacardRolloverAction = new CreateMetacardRolloverAction(Collections.emptyList()); assertThat(createMetacardRolloverAction.toString(), notNullValue()); }