@Test @ExtendWith(TemporaryFolderExtension.class) void testLoadSingle(TemporaryFolder temporaryFolder) { SoapResourceLoader soapResourceLoader = new SoapResourceLoader(fileUtils); assertThrows(ConfigLoadException.class, () -> soapResourceLoader.loadSingle("soapResource", temporaryFolder.getRoot())); Bundle bundle = new Bundle(); assertThrows(ConfigLoadException.class, () -> soapResourceLoader.load(bundle, "soapResource", "soapResource")); }
@Override public Object loadSingle(String name, File entitiesFile) { throw new ConfigLoadException("Cannot load an individual soapResource"); }
SoapResourceLoader implements EntityLoader { @Override public Object loadSingle(String name, File entitiesFile) { throw new ConfigLoadException("Cannot load an individual soapResource"); } }
SoapResourceLoader implements EntityLoader { @Override public Object loadSingle(String name, File entitiesFile) { throw new ConfigLoadException("Cannot load an individual soapResource"); } @Inject  SoapResourceLoader(FileUtils fileUtils); }
SoapResourceLoader implements EntityLoader { @Override public Object loadSingle(String name, File entitiesFile) { throw new ConfigLoadException("Cannot load an individual soapResource"); } @Inject  SoapResourceLoader(FileUtils fileUtils); @Override void load(final Bundle bundle, final File rootDir); @Override void load(Bundle bundle, String name, String value); @Override Map<String, Object> load(File entitiesFile); @Override Object loadSingle(String name, File entitiesFile); @Override String getEntityType(); }
SoapResourceLoader implements EntityLoader { @Override public Object loadSingle(String name, File entitiesFile) { throw new ConfigLoadException("Cannot load an individual soapResource"); } @Inject  SoapResourceLoader(FileUtils fileUtils); @Override void load(final Bundle bundle, final File rootDir); @Override void load(Bundle bundle, String name, String value); @Override Map<String, Object> load(File entitiesFile); @Override Object loadSingle(String name, File entitiesFile); @Override String getEntityType();  }