eZ\Publish\Core\Persistence\Legacy\Tests\Content\Type\ContentUpdater\Action\AddFieldTest::testCtor PHP Method

testCtor() public method

public testCtor ( )
    public function testCtor()
    {
        $action = new AddField($this->getContentGatewayMock(), $this->getFieldDefinitionFixture(), $this->getFieldValueConverterMock(), $this->getContentStorageHandlerMock(), $this->getContentMapperMock());
        $this->assertAttributeSame($this->getContentGatewayMock(), 'contentGateway', $action);
        $this->assertAttributeEquals($this->getFieldDefinitionFixture(), 'fieldDefinition', $action);
        $this->assertAttributeSame($this->getFieldValueConverterMock(), 'fieldValueConverter', $action);
    }