public function getTranslatedField(array $prioritizedLanguages, $expectedLocale)
{
$content = $this->generateContent();
$this->configResolver->expects($this->once())->method('getParameter')->with('languages')->will($this->returnValue($prioritizedLanguages));
$this->assertSame($this->translatedFields[$expectedLocale], $this->translationHelper->getTranslatedField($content, 'test'));
}