/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage 'foo' is no valid numeric for NaturalIntType */ public function testCreateNaturalIntWithNonNumericThrowsException() { TypeFactory::createNatural('foo'); }
/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage 'foo' is no valid numeric for NaturalIntType */ public function testCreateNaturalIntWithNonNumericThrowsException() { TypeFactory::createNatural('foo'); }