public function translationByIdReturnsNullOnFailure() { $result = $this->translator->translateById('non-existing-id'); $this->assertNull($result); }