#endif
+}
+
+TEST(CommonFunctions, GetAccountsFile){
+
+ // Run the unit tests depending on the operating system being used.
+
+#if defined(__WIN32__)
+
+#elif defined(__APPLE__)
+
+#else
+
+ // Setup for comparison purposes. Should be
+ // /home/<user>/.xestiaab/preferences/accounts
+
+ wxString AccountsFileCheck = "";
+ AccountsFileCheck.Clear();
+ AccountsFileCheck.Append(wxString::FromUTF8(getenv("HOME")));
+ AccountsFileCheck.Append(wxT("/.xestiaab/preferences/accounts"));
+
+ wxString AccountsFile = GetAccountsFile();
+
+ ASSERT_EQ(AccountsFile, AccountsFileCheck);
+
+#endif
+
}
\ No newline at end of file