@Test public void testGetStorageOffer() throws Exception { final FileStorageProvider fsProvider = new FileStorageProvider(); final StorageOffer offer = fsProvider.getStorageOffer(VitamConfiguration.getDefaultStrategy()); assertNotNull(offer); assertEquals("default", offer.getId()); assertEquals("http: assertNotNull(offer.getParameters()); assertEquals("bob", offer.getParameters().get("user")); assertTrue(offer.isEnabled()); }
@Override public StorageOffer getStorageOffer(String idOffer) throws StorageException { return getFilteredStorageOffer(idOffer, false); }
FileStorageProvider implements StorageStrategyProvider, StorageOfferProvider { @Override public StorageOffer getStorageOffer(String idOffer) throws StorageException { return getFilteredStorageOffer(idOffer, false); } }
FileStorageProvider implements StorageStrategyProvider, StorageOfferProvider { @Override public StorageOffer getStorageOffer(String idOffer) throws StorageException { return getFilteredStorageOffer(idOffer, false); } FileStorageProvider(); }
FileStorageProvider implements StorageStrategyProvider, StorageOfferProvider { @Override public StorageOffer getStorageOffer(String idOffer) throws StorageException { return getFilteredStorageOffer(idOffer, false); } FileStorageProvider(); @Override StorageStrategy getStorageStrategy(String idStrategy); @Override StorageOffer getStorageOffer(String idOffer); @Override StorageOffer getStorageOffer(String idOffer, boolean includeDisabled); @Override Map<String, StorageStrategy> getStorageStrategies(); }
FileStorageProvider implements StorageStrategyProvider, StorageOfferProvider { @Override public StorageOffer getStorageOffer(String idOffer) throws StorageException { return getFilteredStorageOffer(idOffer, false); } FileStorageProvider(); @Override StorageStrategy getStorageStrategy(String idStrategy); @Override StorageOffer getStorageOffer(String idOffer); @Override StorageOffer getStorageOffer(String idOffer, boolean includeDisabled); @Override Map<String, StorageStrategy> getStorageStrategies();  }