public function testTranslatesGroups()
{
$groups = ['slayer', 'system_of_a_down'];
$default = 'system_of_a_down';
$this->getTranslatorMock()->expects($this->any())->method('trans')->will($this->returnValueMap([['slayer', [], 'ezplatform_fields_groups', null, 'Slayer'], ['system_of_a_down', [], 'ezplatform_fields_groups', null, 'System of a down']]));
$list = $this->buildList($groups, $default);
self::assertEquals(['slayer' => 'Slayer', 'system_of_a_down' => 'System of a down'], $list->getGroups());
}