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

testCreateNewFields() public method

public testCreateNewFields ( )
    public function testCreateNewFields()
    {
        $fieldHandler = $this->getFieldHandler();
        $mapperMock = $this->getMapperMock();
        $this->assertCreateNewFields(false);
        $mapperMock->expects($this->exactly(6))->method('convertToStorageValue')->with($this->isInstanceOf('eZ\\Publish\\SPI\\Persistence\\Content\\Field'))->will($this->returnValue(new StorageFieldValue()));
        $fieldHandler->createNewFields($this->getContentPartialFieldsFixture(), $this->getContentTypeFixture());
    }