/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage 'foo' is no valid numeric for WholeIntType */ public function testCreateWholeIntWithNonNumericThrowsException() { TypeFactory::createWhole('foo'); }
/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage 'foo' is no valid numeric for WholeIntType */ public function testCreateWholeIntWithNonNumericThrowsException() { TypeFactory::createWhole('foo'); }