@Test
public void getDataDirectory() {

	File file = new DataDirectoryLocator().locate();
	if (isMac()) {
		assertEquals(System.getProperty("user.home") + "/Library/Application Support/GreensOpinionFinance",
				file.getPath());
	} else if (isWindows()) {
		assertEquals(System.getProperty("user.home") + "\\AppData\\Roaming\\GreensOpinionFinance", file.getPath());
	} else {
		fail("Unsupported os: " + System.getProperty("os.name"));
	}
	assertTrue(file.getParentFile().exists());
	assertTrue(file.getParentFile().isDirectory());
}