private function getFieldTypeParserMock()
{
$fieldTypeParserMock = $this->getMock('\\eZ\\Publish\\Core\\REST\\Common\\Input\\FieldTypeParser', array(), array($this->getContentServiceMock(), $this->getMock('eZ\\Publish\\Core\\REST\\Client\\ContentTypeService', array(), array(), '', false), $this->getMock('eZ\\Publish\\Core\\REST\\Client\\FieldTypeService', array(), array(), '', false)), '', false);
$fieldTypeParserMock->expects($this->any())->method('parseFieldValue')->with(14, 'first_name', array())->will($this->returnValue('foo'));
return $fieldTypeParserMock;
}