@Test
public void testMultipleImportsContent() {

    final String content = ""
            + "import java.lang.String;\n"
            + "import java.lang.Double;\n";
    final Imports imports = ImportsParser.parseImports(content);
    assertNotNull(imports);
    assertEquals(2,
                 imports.getImports().size());
    assertEquals("java.lang.String",
                 imports.getImports().get(0).getType());
    assertEquals("java.lang.Double",
                 imports.getImports().get(1).getType());
}