public function xtestChangeLeaveStatusForLeave()
 {
     $leaveRequest = new LeaveRequest();
     $leaveRequest->setId(1);
     $leave = new Leave();
     $leave->setLeaveRequest($leaveRequest);
     $changes = array(1 => 'APPROVE', 21 => 'REJECT', 31 => 'CANCEL');
     $changeType = 'change_leave';
     $leaveRequestDao = $this->getMock('LeaveRequestDao', array('getLeaveById'));
     $leaveRequestDao->expects($this->any())->method('getLeaveById')->will($this->returnValue($leave));
     $this->leaveRequestService->setLeaveRequestDao($leaveRequestDao);
     $mockLeaveStateManager = new MockLeaveStateManager();
     $this->leaveRequestService->setLeaveStateManager($mockLeaveStateManager);
     $leaveNotificationService = $this->getMock('LeaveNotificationService', array('approve', 'cancel', 'reject', 'cancelEmployee'));
     $this->leaveRequestService->setLeaveNotificationService($leaveNotificationService);
     $this->leaveRequestService->changeLeaveStatus($changes, $changeType);
 }