$translator = $this->getMock('Drupal\Core\Validation\TranslatorInterface');
$translator->expects($this->any())
->method('trans')
$translator = $this->getMock('Drupal\Core\Validation\TranslatorInterface');
$translator->expects($this->any())
->method('trans')