spec\PhpSpec\Matcher\ArrayCountMatcherSpec::it_does_not_match_proper_countable_count PHP Method

it_does_not_match_proper_countable_count() public method

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