@Test
public void appendImports_emptyCollection_prints_nothing() throws Exception {

  FileContextTestImpl fileContext = new FileContextTestImpl();
  new DAFileWriter(fileContext.getWriter()).appendImports(Collections.<DAImport>emptyList());
  assertThat(fileContext.getRes()).isEqualTo("");
}