Exemple #1
0
        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);
        }
Exemple #2
0
        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");
        }