PHPUnit_Framework_Assert::countOf PHP Method

countOf() public static method

Returns a PHPUnit_Framework_Constraint_Count matcher object.
public static countOf ( integer $count ) : PHPUnit_Framework_Constraint_Count
$count integer
return PHPUnit_Framework_Constraint_Count
    public static function countOf($count)
    {
        return new PHPUnit_Framework_Constraint_Count($count);
    }
PHPUnit_Framework_Assert