public function let(TranslatorInterface $translator) { $this->formatter = new Formatter($translator->getWrappedObject()); $this->beConstructedWith($this->formatter); }