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