@Test
public void getSystemPropertyAsLongTest() throws Exception
{

  String property = "org.apache.apex.com.util.systemHelper";
  System.setProperty(property, "1001");
  Assert.assertEquals(1001, PropertiesHelper.getLong(property, 100, 100, 2000));
  Assert.assertEquals(2000, PropertiesHelper.getLong(property, 2000, 2000, 20000));
  System.setProperty(property, "INVALID");
  Assert.assertEquals(2000, PropertiesHelper.getLong(property, 2000, 2000, 20000));
}