@Test
public void testToLongerWithValidValues() throws Exception {

    assertEquals(Long.valueOf(1), new RequestParameter(null, "1").toLong());
    assertEquals(Long.valueOf(-1), new RequestParameter(null, "-1").toLong());
}