' Display name', 'domain' => 'Domain', 'local_part' => 'Local Part', ]; $parts = Parts::create($data); $this->assertEquals($data['display_name'], $parts->getDisplayName()); $this->assertEquals($data['domain'], $parts->getDomain()); $this->assertEquals($data['local_part'], $parts->getLocalPart()); } }