function it_matches_other_class(ArrayObject $object) { $this->shouldNotThrow()->duringNegativeMatch('haveType', $object, array('stdClass')); }