@Test @ExtendWith(TemporaryFolderExtension.class) void testNoEntities(TemporaryFolder temporaryFolder) { UnsupportedEntityLoader unsupportedEntityLoader = new UnsupportedEntityLoader(jsonTools, new IdGenerator(), DocumentTools.INSTANCE); Bundle bundle = new Bundle(); unsupportedEntityLoader.load(bundle, temporaryFolder.getRoot()); assertTrue(bundle.getServices().isEmpty()); }
@Override public void load(final Bundle bundle, final File rootDir) { super.load(bundle, rootDir); updateItemXml(bundle, new File(rootDir, "config")); }
UnsupportedEntityLoader extends EntityLoaderBase<UnsupportedGatewayEntity> implements EntityLoader { @Override public void load(final Bundle bundle, final File rootDir) { super.load(bundle, rootDir); updateItemXml(bundle, new File(rootDir, "config")); } }
UnsupportedEntityLoader extends EntityLoaderBase<UnsupportedGatewayEntity> implements EntityLoader { @Override public void load(final Bundle bundle, final File rootDir) { super.load(bundle, rootDir); updateItemXml(bundle, new File(rootDir, "config")); } @Inject  UnsupportedEntityLoader(final JsonTools jsonTools, final IdGenerator idGenerator, final DocumentTools documentTools); }
UnsupportedEntityLoader extends EntityLoaderBase<UnsupportedGatewayEntity> implements EntityLoader { @Override public void load(final Bundle bundle, final File rootDir) { super.load(bundle, rootDir); updateItemXml(bundle, new File(rootDir, "config")); } @Inject  UnsupportedEntityLoader(final JsonTools jsonTools, final IdGenerator idGenerator, final DocumentTools documentTools); @Override void load(final Bundle bundle, final File rootDir); @Override void load(Bundle bundle, String name, String value, String environmentConfigurationFolderPath); @Override String getEntityType(); }
UnsupportedEntityLoader extends EntityLoaderBase<UnsupportedGatewayEntity> implements EntityLoader { @Override public void load(final Bundle bundle, final File rootDir) { super.load(bundle, rootDir); updateItemXml(bundle, new File(rootDir, "config")); } @Inject  UnsupportedEntityLoader(final JsonTools jsonTools, final IdGenerator idGenerator, final DocumentTools documentTools); @Override void load(final Bundle bundle, final File rootDir); @Override void load(Bundle bundle, String name, String value, String environmentConfigurationFolderPath); @Override String getEntityType();  }