private function givenTranslatorWillTranslate() { $this->resourceTranslator->shouldReceive('translate')->with($this->language, $this->translatedMessage)->andReturn($this->translatedString); }