CodeExplorer setTranslationDomain example
public function testSetTranslator() { $this->
assertSame($this->builder,
$this->builder->
setTranslator( $this->
createMock(TranslatorInterface::
class)) );
} public function testSetTranslationDomain() { $this->
assertSame($this->builder,
$this->builder->
setTranslationDomain('TRANS_DOMAIN'
));
} public function testGetValidator() { $this->
assertInstanceOf(RecursiveValidator::
class,
$this->builder->
getValidator());
}}