void () { VirtualFile file1 = myFixture.configureByText("file1.txt", "").getVirtualFile(); VirtualFile file2 = myFixture.configureByText("file2.txt", "").getVirtualFile(); SyntheticLibrary lib1 = SyntheticLibrary.newImmutableLibrary(Arrays.asList(file1, file2)); SyntheticLibrary lib2 = SyntheticLibrary.newImmutableLibrary(Arrays.asList(file1, file2)); SyntheticLibrary lib3 = SyntheticLibrary.newImmutableLibrary(Arrays.asList(file2, file1)); Assert.assertEquals(lib1, lib2); Assert.assertNotEquals(lib1, lib3); }