@Test
public void testReadImports() throws IOException {

  final ProjectFile projectFile = new ProjectFile();
  final Project project = new Project(randomUUID().toString(), projectFile);
  final Source source = new Source(project, randomUUID().toString());
  source.setContentProvider(() -> openWithExtensionAs("lua"));
  final List<String> libraries = source.readImports();
  assertEquals(3, libraries.size());
}