@BeforeClass
	public static void setUpBeforeClass() throws Exception
	{
		String path = System.getProperty("user.home") + File.separator + "toodledotest.properties";
		Properties toodledoTestProperties = new Properties();
		
		try
		{
			FileInputStream propertiesFile = new FileInputStream(path);
			toodledoTestProperties.load(propertiesFile);
			propertiesFile.close();
		}
		catch(Exception e)
		{
			fail("Error reading properties file from " + path + ". Error: " + e.getLocalizedMessage());
		}
		
		System.getProperties().put("toodledo.email", toodledoTestProperties.getProperty("toodledo.email"));
		System.getProperties().put("toodledo.password", toodledoTestProperties.getProperty("toodledo.password"));
		
		// This is only here for development of the test code.  Typically the property would never
		// be in a *real* version of the properties file.
		System.getProperties().put("toodledo.token", toodledoTestProperties.getProperty("toodledo.token"));
		
		assertTrue("Email address not defined in properties file.", System.getProperty("toodledo.email") != null && System.getProperty("toodledo.email").length() > 0);
		assertTrue("Password not defined in properties file.", System.getProperty("toodledo.password") != null && System.getProperty("toodledo.password").length() > 0);
		
	}