ListFilenameGenerator extends BaseFilenameGenerator { @Override public String toString() { return "ListFilenameGenerator{" + "filenameGeneratorList=" + filenameGeneratorList + '}'; } ListFilenameGenerator(List<FilenameGenerator> filenameGeneratorList); @Override String toString();  }
@Test public void testToString() { ListFilenameGenerator listFilenameGenerator = new ListFilenameGenerator(Collections.emptyList()); assertThat(listFilenameGenerator.toString(), notNullValue()); }