spec\PHPSpec2\Matcher\CountMatcher::it_should_not_match_wrong_array_count PHP Метод

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

    function it_should_not_match_wrong_array_count()
    {
        $this->shouldThrow(new FailureException('Expected countable to have 2 items, but got 3.'))->duringPositiveMatch('haveCount', array(1, 2, 3), array(2));
    }