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