public void TestToReturnProperMessageIfEmployeeIsNotPresentWhileAddingRemark() { int id = 78; var updateRemarkClient = new ServiceFixtures.cs.EmployeeService.AddandCreateClient("BasicHttpBinding_IAddandCreate"); var result = updateRemarkClient.AddRemarksToEmployee(id, "Good Employee"); Debug.WriteLine(result + "\n\n"); }
public void TestToCheckWhetherEnteredValuesShouldNotBeNull() { string name = string.Empty; string remark = string.Empty; var client = new ServiceFixtures.cs.EmployeeService.AddandCreateClient("BasicHttpBinding_IAddandCreate"); client.CreateEmployee(name, remark, DateTime.Now); }
public void TestToCheckWhetherEmployeeIsAddedSuccessfully() { string name = "john"; string remark = "noble"; var createEmployeeClient = new ServiceFixtures.cs.EmployeeService.AddandCreateClient("BasicHttpBinding_IAddandCreate"); var result = createEmployeeClient.CreateEmployee(name, remark, DateTime.Now); Assert.AreEqual(result, "Record Added Successfully."); Debug.WriteLine(result + "\n\n"); }