JpsMavenRepositoryLibraryDescriptor (String name) { loadProject("/jps/model-serialization/testData/repositoryLibraries"); JpsLibrary library = myProject.getLibraryCollection().findLibrary(name); assertNotNull(library); assertSame(JpsRepositoryLibraryType.INSTANCE, library.getType()); JpsTypedLibrary<JpsSimpleElement<JpsMavenRepositoryLibraryDescriptor>> typed = library.asTyped(JpsRepositoryLibraryType.INSTANCE); assertNotNull(typed); return typed.getProperties().getData(); }