@Test
public void getImports_retrieve_imports_for_type_arguments() throws Exception {

  DAType daType = daType("test.Toto");
  Assertions.assertThat(DATypeImportComputer.computeImports(daType)).extracting("qualifiedName.name").containsOnly("test.Toto");
  daType = daType("test.Toto", ImmutableList.of(daType("test.Titi")));
  Assertions.assertThat(DATypeImportComputer.computeImports(daType)).extracting("qualifiedName.name").containsOnly(
      "test.Toto", "test.Titi"
  );
}