### Question:
TechMedicalProjectServiceImpl implements TechMedicalProjectService { @Override public CommonResult checkInProject(ProjectParam projectParam){ Integer departmentId = projectParam.getDepartmentId(); Integer collectionId = projectParam.getCollectionId(); Integer projectId = projectParam.getProjectId(); Integer doctorRoleId = projectParam.getDoctorRoleId(); Byte transactionLogStatus = projectParam.getTransactionLogStatus(); Byte projectStatus = projectParam.getProjectStatus(); if (collectionId == null) CommonResult.fail(E_801); if(projectId == null) return CommonResult.fail(E_801); if(doctorRoleId == null) return CommonResult.fail(E_801); if(2 != transactionLogStatus) return CommonResult.fail(ResultCode.E_804); int count; if(projectStatus == 2){ String projectType = departmentMapper.getClassificationById(departmentId); switch (projectType){ case "医学影像科": count = inspectionMapper.checkInProject(collectionId, projectId, doctorRoleId); break; case "医技科": count = examinationMapper.checkInProject(collectionId, projectId, doctorRoleId); break; case "处置科": count = treatmentMapper.checkInProject(collectionId, projectId, doctorRoleId); break; default: return CommonResult.fail(E_801); } if(count > 0) return CommonResult.success(count); else return CommonResult.fail(); } else return CommonResult.fail(); }  @Override CommonResult listPreparedPatientsByCaseIdOrDateOrName(PatientParam patientParam); @Override CommonResult listAllProjectsByCaseId(PatientParam patientParam); @Override CommonResult listItemsByCollectionIdAndProjectId(ProjectParam projectParam); @Override CommonResult checkInProject(ProjectParam projectParam); @Override CommonResult cancelProject(ProjectParam projectParam); @Override CommonResult listCheckedInButNotRecordedProjects(ProjectParam projectParam); @Override CommonResult recordResult(ProjectParam projectParam); @Override CommonResult showResult(ProjectParam projectParam); CommonResult confirmProject(ProjectParam projectParam);  }### Answer:
@Test public void testCheckInProject() throws Exception { }