@Test
@ExtendWith(TemporaryFolderExtension.class)
void testLoad(TemporaryFolder temporaryFolder) throws IOException {

    SoapResourceLoader soapResourceLoader = new SoapResourceLoader(fileUtils);
    File soapResourceFolder = temporaryFolder.createDirectory(SOAP_RESOURCES_FOLDER);
    File a = new File(soapResourceFolder, "a");
    Assert.assertTrue(a.mkdir());
    File b = new File(a, "b");
    Assert.assertTrue(b.mkdir());
    File c = new File(b, "c");
    Assert.assertTrue(c.mkdir());
    File soapResource = new File(c, "wsdl.wsdl");
    Files.touch(soapResource);
    soapResource = new File(c, "schema.xsd");
    Files.touch(soapResource);
    soapResource = new File(c, "invalid.txt");
    Files.touch(soapResource);
    Bundle bundle = new Bundle();
    soapResourceLoader.load(bundle, temporaryFolder.getRoot());
    SoapResource loadedSoapResource = bundle.getSoapResources().get("a/b/c/wsdl.wsdl");
    Assert.assertNotNull(loadedSoapResource);
    loadedSoapResource = bundle.getSoapResources().get("a/b/c/schema.xsd");
    Assert.assertNotNull(loadedSoapResource);
    loadedSoapResource = bundle.getSoapResources().get("a/b/c/invalid.txt");
    Assert.assertNull(loadedSoapResource);
}