public function testReportReturnsId()
 {
     $testReport = $this->report;
     $testReport->setRid(10);
     $this->assertEquals(10, $testReport->getRid());
     $testReport = new Report([20, 'test.feature', 'test', 'os']);
     $testReport->setOs("IE");
     $this->assertEquals('IE', $testReport->getOs());
 }
 private function addOne(Report $report)
 {
     $this->persistence->persist(array('rid' => $report->getRid(), 'site_id' => $report->getSiteId(), 'test_name' => $report->getTestName(), 'results' => $report->getResults(), 'duration' => $report->getDuration(), 'created' => $report->getCreated(), 'status' => $report->getStatus(), 'user_id' => $report->getUserId(), 'settings' => $report->getSettings(), 'browser' => $report->getBrowser(), 'os' => $report->getOs(), 'tags' => $report->getTags()));
 }