@Test
public void testToDoubleWithValidValues() throws Exception {

    assertEquals(Double.valueOf(0.1), new RequestParameter(null, "0.1").toDouble());
    assertEquals(Double.valueOf(-0.1), new RequestParameter(null, "-0.1").toDouble());
}