spec\PhpSpec\Matcher\ArrayContainMatcherSpec::it_does_not_match_array_without_specified_value PHP Method

it_does_not_match_array_without_specified_value() public method

    function it_does_not_match_array_without_specified_value()
    {
        $this->shouldThrow()->duringPositiveMatch('contain', array(1, 2, 3), array('abc'));
        $this->shouldThrow('PhpSpec\\Exception\\Example\\FailureException')->duringPositiveMatch('contain', array(1, 2, 3), array(new \stdClass()));
    }