### Question:
PharmacyServiceImpl implements PharmacyService { public CommonResult listRecipesByRegistrationIdOrDate(Integer caseId, String chargeDateStr){ String chargeDateBeginStr = null; String chargeDateEndStr = null; if(chargeDateStr != null){ chargeDateBeginStr = chargeDateStr.concat(" 00:00:00"); chargeDateEndStr = chargeDateStr.concat(" 23:59:59"); } List<HashMap> result = recipeMapper.listRecipesByRegistrationIdOrDate(caseId, chargeDateBeginStr, chargeDateEndStr); return CommonResult.success(result); }  CommonResult listRecipesByRegistrationIdOrDate(Integer caseId, String chargeDateStr); CommonResult listIndividualRecipe(Integer registrationId); CommonResult deliverMedicine(List<RecipeParam> recipeParams); CommonResult returnMedicine(List<RecipeParam> recipeParams);  }### Answer:
@Test public void testListRecipesByRegistrationIdOrDate() throws Exception { }