/** * This test checks the Integer's parseInteger() method. * * @return void */ public function testParseIntegerWithNumberFormaException() { // set the expected exception $this->setExpectedException('\\AppserverIo\\Lang\\NumberFormatException'); // initialize a new Integer instance $int = Integer::parseInteger(new Strng('!17')); }