public function testIsInt() { $this->assertEquals(false, StringUtils::isInt('foo'), 'Not an int but a string'); $this->assertEquals(false, StringUtils::isInt('42.3'), 'Not an int but a float'); $this->assertEquals(true, StringUtils::isInt('42'), 'An int'); }