getWorklog() public method

get getWorklog.
public getWorklog ( mixed $issueIdOrKey ) : PaginatedWorklog
$issueIdOrKey mixed
return PaginatedWorklog object
 public function testGetTimeTracking()
 {
     try {
         $issueService = new IssueService();
         $ret = $issueService->getWorklog($this->issueKey);
         var_dump($ret);
     } catch (JIRAException $e) {
         $this->assertTrue(false, 'testGetTimeTracking Failed : ' . $e->getMessage());
     }
 }
 public function testGetWorkLog()
 {
     try {
         $issueService = new IssueService();
         // get issue's worklog
         $worklogs = $issueService->getWorklog($this->issueKey)->getWorklogs();
         Dumper::dump($worklogs);
     } catch (JiraException $e) {
         $this->assertTrue(false, 'testGetWorkLog Failed : ' . $e->getMessage());
     }
 }