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

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

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