示例#1
0
 /**
  * Checks getJobs() returns empty array when no jobs are set.
  */
 public function testGetJobs_returnsEmptyWithNoJobs()
 {
     $folder = JasperTestUtils::createFolder();
     $this->jc->putResource('', $folder);
     $jobs = $this->jc->getJobs();
     // Cleanup
     $this->jc->deleteResource($folder->getUriString());
     $this->assertEquals(0, count($jobs));
 }