@Test
public void testFromPropertiesFile() throws IOException {

	File propertiesFile = tmp.newFile();
	Properties props = new Properties();
	props.setProperty("input", "myInput");
	props.setProperty("expectedCount", "15");
	props.store(new FileOutputStream(propertiesFile), "Test properties");
	ParameterTool parameter = ParameterTool.fromPropertiesFile(propertiesFile.getAbsolutePath());
	Assert.assertEquals(2, parameter.getNumberOfParameters());
	validate(parameter);
}