/**
* @covers \eZ\Publish\Core\FieldType\Author\Value::__toString
*/
public function testFieldValueToString()
{
$value = new AuthorValue($this->authors);
$authorsName = array();
foreach ($this->authors as $author) {
$authorsName[] = $author->name;
}
self::assertSame(implode(', ', $authorsName), $value->__toString());
}