eZ\Publish\Core\FieldType\Tests\FileSizeValidatorTest::getBinaryFileValue PHP Method

getBinaryFileValue() protected method

protected getBinaryFileValue ( integer $size ) : Value
$size integer
return eZ\Publish\Core\FieldType\BinaryFile\Value
    protected function getBinaryFileValue($size)
    {
        $this->markTestSkipped('BinaryFile field type does not use this validator anymore.');
        $value = new BinaryFileValue($this->getMock('eZ\\Publish\\API\\Repository\\IOServiceInterface'));
        $value->file = new BinaryFile(array('size' => $size));
        return $value;
    }