public void InsertSingleApplicantTest() { ApplicantService target = new ApplicantService(); // TODO: Initialize to an appropriate value List <ApplicantTemp> app = new List <ApplicantTemp>(); // TODO: Initialize to an appropriate value //List<string> testNo = new List<string>(); // TODO: Initialize to an appropriate value string[] testNo = new string[] { "570247", "570246", "570245", "570244" }; DateTime[] Edate = new DateTime[] { Convert.ToDateTime("16/06/2557"), Convert.ToDateTime("26/06/2557"), Convert.ToDateTime("25/06/2557"), Convert.ToDateTime("14/06/2557") }; string[] examP = new string[] { "10111", "10224", "10224", "10224" }; int xx = 4; for (int i = 0; i < xx; i++) { ApplicantTemp ent = new ApplicantTemp(); //DTO.ApplicantTemp ent = new ApplicantTemp(); ent.TESTING_NO = testNo[i]; ent.TESTING_DATE = Edate[i]; ent.EXAM_PLACE_CODE = examP[i]; ent.APPLY_DATE = DateTime.Today; ent.INSUR_COMP_CODE = "1006"; ent.USER_ID = "131101133556905"; ent.ID_CARD_NO = "7303043711071"; ent.RUN_NO = Convert.ToString(i + 1); app.Add(ent); } string userId = "131101133556905"; // TODO: Initialize to an appropriate value ResponseService <string> expected = new ResponseService <string>(); // TODO: Initialize to an appropriate value ResponseService <string> actual; actual = target.InsertSingleApplicant(app, userId); Assert.AreEqual("999999570500000865", actual.DataResponse); Assert.Inconclusive("Verify the correctness of this test method."); }