/** * @covers ::create * @uses \phpDocumentor\Reflection\TypeResolver * @expectedException \InvalidArgumentException */ public function testFactoryMethodFailsIfDescriptionFactoryIsNull() { Property::create('body', new TypeResolver()); }