public function testDoubleField() { $website = 'website'; $websiteValue = 15; $email = 'email'; $emailValue = '*****@*****.**'; NoSuchEntityException::doubleField($website, $websiteValue, $email, $emailValue); $this->assertSame("No such entity with {$website} = {$websiteValue}, {$email} = {$emailValue}", NoSuchEntityException::doubleField($website, $websiteValue, $email, $emailValue)->getMessage()); }