### Question:
StoreFactory { public static PhotoStore getPhotoStore() { PhotoStoreDisk ps = null; try { Properties properties = loadDataProperties(); String basePath = properties.getProperty(DATA_PHOTO_BASE_PATH); String baseUrl = properties.getProperty(DATA_PHOTO_BASE_URL); String value = properties.getProperty(DATA_PHOTO_BUFFER_SIZE); int bufferSize = Integer.parseInt(value); ps = new PhotoStoreDisk(basePath, baseUrl, bufferSize); } catch (NumberFormatException e) { log.debug(e); } catch (IOException e) { log.debug(e); } return ps; }  static CategoryStore getCategoryStore(); static AssetStore getAssetStore(); static UserStore getUserStore(); static PhotoStore getPhotoStore();  }### Answer:
@Test public void testGetPhotoStore() { PhotoStore ps = StoreFactory.getPhotoStore(); assertTrue(ps != null); PhotoStoreDisk psd = (PhotoStoreDisk)ps; assertTrue(BASE_PATH.equals(psd.getBasePath())); assertTrue(BASE_URL.equals(psd.getBaseUrl())); }