@Test
public void testGetPropertiesFromInputStream()
{

    ByteArrayInputStream inputStream = new ByteArrayInputStream("foo=bar".getBytes());
    Properties properties = javaPropertiesHelper.getProperties(inputStream);
    Assert.assertEquals("properties value 'foo'", "bar", properties.get("foo"));
}