protected function getMockedAction($methods = array())
{
return $this->getMockBuilder('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\Type\\ContentUpdater\\Action\\AddField')->setMethods((array) $methods)->setConstructorArgs(array($this->getContentGatewayMock(), $this->getFieldDefinitionFixture(), $this->getFieldValueConverterMock(), $this->getContentStorageHandlerMock(), $this->getContentMapperMock()))->getMock();
}