private function _getPopulatedLeavePeriodDataHolder()
 {
     $leavePeriodDataHolder = new LeavePeriodDataHolder();
     $isLeavePeriodStartOnFeb29th = ParameterService::getParameter('isLeavePeriodStartOnFeb29th');
     $nonLeapYearLeavePeriodStartDate = ParameterService::getParameter('nonLeapYearLeavePeriodStartDate');
     $leavePeriodStartDate = ParameterService::getParameter('leavePeriodStartDate');
     $leavePeriodDataHolder->setIsLeavePeriodStartOnFeb29th($isLeavePeriodStartOnFeb29th);
     $leavePeriodDataHolder->setNonLeapYearLeavePeriodStartDate($nonLeapYearLeavePeriodStartDate);
     $leavePeriodDataHolder->setStartDate($leavePeriodStartDate);
     $leavePeriodDataHolder->setDateFormat('Y-m-d');
     return $leavePeriodDataHolder;
 }
 public function testGenerateStartDate14()
 {
     $leavePeriodDataHolder = new LeavePeriodDataHolder();
     $leavePeriodDataHolder->setIsLeavePeriodStartOnFeb29th('No');
     $leavePeriodDataHolder->setStartDate('01-15');
     $leavePeriodDataHolder->setDateFormat('Y-m-d');
     $leavePeriodDataHolder->setCurrentDate('2012-10-04');
     $leavePeriodStartDate = $this->leavePeriodService->generateStartDate($leavePeriodDataHolder);
     $this->assertEquals('2012-01-15', $leavePeriodStartDate);
 }