public function setUp() { $this->translator = \Mockery::mock('Symfony\\Component\\Translation\\Translator')->shouldIgnoreMissing(); $this->translator->shouldReceive('trans')->withAnyArgs()->andReturn(self::TRANS_STRING); }
public function setUp() { $this->translator = \Mockery::mock('Symfony\\Component\\Translation\\Translator')->shouldIgnoreMissing(); $this->translator->shouldReceive('trans')->withAnyArgs()->andReturn(self::TRANS_STRING); }