diff --git a/tests/TransparentEmailTest.php b/tests/TransparentEmailTest.php index ae69db6..6cc840f 100644 --- a/tests/TransparentEmailTest.php +++ b/tests/TransparentEmailTest.php @@ -59,7 +59,8 @@ class TransparentEmailTest extends \PHPUnit_Framework_TestCase */ public function testDefault(EmailInterface $inputEmail, string $expectedEmail) { - $this->assertEquals($expectedEmail, ((new TransparentEmailFactory())->createDefault())->getPrimaryEmail($inputEmail)); + $outputEmail = ((new TransparentEmailFactory())->createDefault())->getPrimaryEmail($inputEmail); + $this->assertEquals($expectedEmail, $outputEmail); } public function providerDefault() : array