public InsertContactResponse InsertContact(InsertContactRequest request) { InsertContactResponse response = new InsertContactResponse() { Id = "56ea228e64e91cf53bbfca66", Version = 1.0 }; return(response); }
public void InsertContact_ShouldNotReturnNull_Test() { InsertContactRequest request = new InsertContactRequest() { ContractNumber = "InHealth001", UserId = "5325c821072ef705080d3488", Token = ObjectId.GenerateNewId().ToString(), Version = 1.0, Contact = new Contact() { FirstName = "Carl", LastName = "Lewis", } }; INGManager ngManager = new StubNGManager(); var response = ngManager.InsertContact(request); Assert.IsNotNull(response); }