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