public function testSetTranslator() { $this->assertSame($this->builder, $this->builder->setTranslator($this->getMock('Symfony\\Component\\Translation\\TranslatorInterface'))); }