assertEquals('Tue, 26 Feb 2019 21:30:03 GMT', $model->getCreatedAt()); $this->assertInstanceOf(ValidationStatusDownloadUrl::class, $model->getDownloadUrl()); $this->assertEquals('http://example.com/filname.csv', $model->getDownloadUrl()->getCsv()); $this->assertEquals('http://example.com/filname.json', $model->getDownloadUrl()->getJson()); $this->assertEquals('listname@mydomain.sandbox.mailgun.org', $model->getId()); $this->assertEquals(207665, $model->getQuantity()); $this->assertEquals(207665, $model->getRecordsProcessed()); $this->assertEquals('uploaded', $model->getStatus()); $this->assertInstanceOf(ValidationStatusSummary::class, $model->getSummary()); $this->assertInstanceOf(ValidationStatusSummaryResult::class, $model->getSummary()->getResult()); $this->assertEquals(184199, $model->getSummary()->getResult()->getDeliverable()); $this->assertEquals(5647, $model->getSummary()->getResult()->getDoNotSend()); $this->assertEquals(12116, $model->getSummary()->getResult()->getUndeliverable()); $this->assertEquals(5613, $model->getSummary()->getResult()->getUnknown()); $this->assertInstanceOf(ValidationStatusSummaryRisk::class, $model->getSummary()->getRisk()); $this->assertEquals(17763, $model->getSummary()->getRisk()->getHigh()); $this->assertEquals(142547, $model->getSummary()->getRisk()->getLow()); $this->assertEquals(41652, $model->getSummary()->getRisk()->getMedium()); $this->assertEquals(5614, $model->getSummary()->getRisk()->getUnknown()); } }