public void GetPersonalDetailByIDCardTest() { //string id = "3414242344334"; RegistationService target = new RegistationService(); // TODO: Initialize to an appropriate value string idCard = "3414242344334"; // TODO: Initialize to an appropriate value ResponseService <Person> expected = null; // TODO: Initialize to an appropriate value ResponseService <Person> actual; actual = target.GetPersonalDetailByIDCard(idCard); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void GetPersonalDetailByIDCard() { RegistationService target = new RegistationService(); // TODO: Initialize to an appropriate value RegistrationType registerType = new RegistrationType(); // TODO: Initialize to an appropriate value DTO.Registration entity = new DTO.Registration(); // TODO: Initialize to an appropriate value DTO.ResponseService <DTO.Person> expected = new DTO.ResponseService <DTO.Person>(); // TODO: Initialize to an appropriate value DTO.ResponseService <DTO.Person> actual; entity.ID_CARD_NO = "6992298475033"; entity.MEMBER_TYPE = ((int)DTO.MemberType.Insurance).ToString(); entity.NAMES = "กกดกเ"; entity.LASTNAME = "ddddddd"; entity.EMAIL = "*****@*****.**"; actual = target.GetPersonalDetailByIDCard("5210280819012"); Assert.AreEqual(expected, actual); //Assert.Inconclusive("Verify the correctness of this test method."); }