@Test
public void parseInt() {

    assertEquals(-2, Numbers.parseInt("-2", -1));
    assertEquals(-1, Numbers.parseInt("-1", -1));
    assertEquals(0, Numbers.parseInt("0", -1));
    assertEquals(1, Numbers.parseInt("1", -1));
    assertEquals(2, Numbers.parseInt("2", -1));
    assertEquals(-1, Numbers.parseInt("", -1));
      assertEquals(-1, Numbers.parseInt("0.0", -1));
      assertEquals(-1, Numbers.parseInt("0.1", -1));
    assertEquals(-1, Numbers.parseInt("X", -1));
    assertEquals(-1, Numbers.parseInt(null, -1));
}