diff --git a/tests/Model/EmailValidation/PartsTest.php b/tests/Model/EmailValidation/PartsTest.php new file mode 100644 index 0000000..5acbc9d --- /dev/null +++ b/tests/Model/EmailValidation/PartsTest.php @@ -0,0 +1,23 @@ + ' 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()); + } +}