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

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

public it_should_mismatch_wrong_countable_count ( ArrayObject $countable )
$countable ArrayObject
    function it_should_mismatch_wrong_countable_count($countable)
    {
        $countable->count()->willReturn(5);
        $this->shouldNotThrow()->duringNegativeMatch('haveCount', $countable, array(4));
    }