eZ\Publish\Core\Persistence\Legacy\Tests\Content\FieldHandlerTest::testCreateExistingFieldsInNewVersion PHP Method

testCreateExistingFieldsInNewVersion() public method

    public function testCreateExistingFieldsInNewVersion()
    {
        $fieldHandler = $this->getFieldHandler();
        $mapperMock = $this->getMapperMock();
        $this->assertCreateExistingFieldsInNewVersion(false);
        $mapperMock->expects($this->exactly(6))->method('convertToStorageValue')->with($this->isInstanceOf('eZ\\Publish\\SPI\\Persistence\\Content\\Field'))->will($this->returnValue(new StorageFieldValue()));
        $fieldHandler->createExistingFieldsInNewVersion($this->getContentFixture());
    }