void () { loadProject(SAMPLE_PROJECT_PATH); List<JpsArtifact> artifacts = getService().getSortedArtifacts(myProject); assertEquals(2, artifacts.size()); assertEquals("dir", artifacts.get(0).getName()); assertEquals("jar", artifacts.get(1).getName()); }