void () { final String url = "https://community.rti.com/schema/6.0.0/rti_dds_qos_profiles.xsd"; assertEquals(url, ExternalResourceManager.getInstance().getResourceLocation(url, getProject())); myFixture.configureByText(XmlFileType.INSTANCE, """ <dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://community.rti.com/schema/6.0.0/rti_dds_qos_pr<caret>ofiles.xsd"> <qos_library name="MyLibrary"> <qos_profile name="MyProfile" base_name="BuiltinQosLib::Baseline.6.0.0"> </qos_profile> </qos_library> </dds>"""); invokeFetchIntention(url); myFixture.testHighlighting(); ApplicationManager.getApplication().runWriteAction(() -> ExternalResourceManager.getInstance().removeResource(url)); }