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

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

public it_should_not_match_proper_countable_count ( ArrayObject $countable )
$countable ArrayObject
    function it_should_not_match_proper_countable_count($countable)
    {
        $countable->count()->willReturn(5);
        $this->shouldThrow(new FailureException('Expected countable to have 4 items, but got 5.'))->duringPositiveMatch('haveCount', $countable, array(4));
    }