/**
  * Tests delete method
  */
 public function testRead()
 {
     $cronTasks = array($this->_tblCronTaskMocks->getBasicMock(), $this->_tblCronTaskMocks->getBasicMock());
     $sut = $this->_getSut($cronTasks);
     $this->assertEquals($cronTasks, $sut->getAllCronTasks());
     $this->assertEquals($cronTasks, $sut->getActiveCronTasks());
 }
 /**
  * Tests deleteById method
  */
 public function testDeleteByIdOk()
 {
     $cronTaskMock = $this->_tblCronTaskMocks->getBasicMock();
     $sut = $this->_getSutDeleteById($id = 3, $cronTaskMock, 1);
     $sut->deleteById($id);
 }