@Test
public void testIsInteger()
{

    assertTrue( MathUtils.isInteger( "1" ) );
    assertTrue( MathUtils.isInteger( "123" ) );
    assertTrue( MathUtils.isInteger( "-2" ) );
    assertTrue( MathUtils.isInteger( "0" ) );
    
    assertFalse( MathUtils.isInteger( "1.1" ) );
    assertFalse( MathUtils.isInteger( "+4" ) );
    assertFalse( MathUtils.isInteger( "-0" ) );
    assertFalse( MathUtils.isInteger( "Hey" ) );
    assertFalse( MathUtils.isInteger( " 1" ) );
    assertFalse( MathUtils.isInteger( "1 " ) );
    assertFalse( MathUtils.isInteger( "1.2345" ) );
    assertFalse( MathUtils.isInteger( "12147483647" ) );
}