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