/** @test */ public function it_extracts_username_and_host() { $email = new EmailAddress('*****@*****.**'); $this->assertEquals('example.com', $email->host()); $this->assertEquals('leonardo', $email->username()); }