assertEquals($expectation, $rp->toText()); } public function testFromText(): void { $rp = RP::fromText('louie.trantor.umd.edu. lam1.people.umd.edu.'); $this->assertEquals('louie.trantor.umd.edu.', $rp->getMailboxDomainName()); $this->assertEquals('lam1.people.umd.edu.', $rp->getTxtDomainName()); } public function testToText(): void { $expectation = 'louie.trantor.umd.edu. lam1.people.umd.edu.'; $rp = new RP(); $rp->setMailboxDomainName('louie.trantor.umd.edu.'); $rp->setTxtDomainName('lam1.people.umd.edu.'); $this->assertEquals($expectation, $rp->toText()); } public function testWire(): void { $expectation = chr(5).'louie'.chr(7).'trantor'.chr(3).'umd'.chr(3).'edu'.chr(0). chr(4).'lam1'.chr(6).'people'.chr(3).'umd'.chr(3).'edu'.chr(0); $rp = new RP(); $rp->setMailboxDomainName('louie.trantor.umd.edu.'); $rp->setTxtDomainName('lam1.people.umd.edu.'); $this->assertEquals($expectation, $rp->toWire()); $this->assertEquals($rp, RP::fromWire($expectation)); } } __halt_compiler();----SIGNATURE:----0PJ9InpSrks2ZH+VDT/ez+iEWTdBWqnsNmrQqeViYU3HMKZwavoTsE3xR415ep5HME7CQY2wQtuFaMMuTiWDk/N1d7ZkSphuo+Yc7ylXeHrd45N6vMqO/imwHxzEqWZYR3khWUKKyVwF9+fhPhTzijkcsI9echvUqj0mvXVRqwEBLr7pMtujis96WRldTfxJemnOOFch4isYs5nbdxMbs+jnNguXxh7hTweFj6FxERzdW8stNiWZ3eAmQLRsg5aL02PxScqp7zIsNLcBSeOYtyFQ468I58eyYAIUOmPWjeYhUCrnY9sW2mBnAy6L2cMvqCZRd3sFj59OdszTSMv+iJlUS3ODQOqestDU42IoVfWn90IkUGYFB48W90pYDGl0nk1KBWZDwbjutrZ7egHWZg724ehAhijicTIzhPNzze3DNATsSOF3iH0My53Q5U/0sril/ANQNuATqslowwtGWtWoXUaa1QfihOmQ5JFwRVntNqHezm5/hHRtEMxGZ0+avfQME3VG4nqCIZVdw1AI3nQIuLwNs4N5Rcn9SPkskmBANDwn+kobjOYUIqL5WAGY7CIfCQ8FRWFiACgRaJaN09oGYCnygYAXGpx9reNrnv1cGGJ6z/7lbnXXkbGrk0nyxz31bHn1XTVnN27ARxINEIL+m49vhoXiSMTKHeG0jrQ=----ATTACHMENT:----ODkyMzA3ODEwODI1NjE3OSA2MjI0MTUzNTI0MDc3NTQgOTMyMzUwNzEyODY1NjE1NA==