### Question:
StoreFactory { public static AssetStore getAssetStore() { AssetStoreMongo as = null; try { Properties properties = loadDataProperties(); String host = properties.getProperty(DATA_HOST); String value = properties.getProperty(DATA_PORT); int port = Integer.parseInt(value); String database = properties.getProperty(DATA_DATABASE); String collection = properties.getProperty(DATA_COLLECTION_ASSETS); as = new AssetStoreMongo(host, port, database, collection); as.initialize(); } catch (NumberFormatException e) { log.debug(e); } catch (IOException e) { log.debug(e); } return as; }  static CategoryStore getCategoryStore(); static AssetStore getAssetStore(); static UserStore getUserStore(); static PhotoStore getPhotoStore();  }### Answer:
@Test public void testGetAssetStore() { AssetStore as = StoreFactory.getAssetStore(); assertTrue(as != null); AssetStoreMongo asm = (AssetStoreMongo)as; assertTrue(HOST.equals(asm.getHost())); assertTrue(PORT == asm.getPort()); assertTrue(DATABASE.equals(asm.getDatabase())); assertTrue(COLLECTION_ASSETS.equals(asm.getName())); }