spec\PHPSpec2\Matcher\TypeMatcher::it_does_not_matches_wrong_class PHP Метод

it_does_not_matches_wrong_class() публичный Метод

public it_does_not_matches_wrong_class ( ArrayObject $object )
$object ArrayObject
    function it_does_not_matches_wrong_class($object)
    {
        $this->shouldThrow(new FailureException('Expected an instance of stdClass, but got object.'))->duringPositiveMatch('haveType', $object, array('stdClass'));
    }