public function it_replace_from_values_relations() { $notification = ['body' => ['text' => 'Hi {to.username} hello'], 'to' => ['username' => 'jhon'], 'extra' => null]; $this->parse($notification)->shouldReturn('Hi jhon hello'); }