function it_matches_subclass_instance($object) { $this->shouldNotThrow()->duringPositiveMatch('haveType', $object, array('ArrayObject')); }