Пример #1
0
        public void SearchMethodOK()
        {
            //create an instance of the class we want to create
            clsStaff AStaff = new clsStaff();
            //boolean variable to store the result of the balidation
            Boolean Search = false;
            //create some test data to use with the moethod
            string StaffNumber = "P1622604";

            //invoke the moethod
            Search = AStaff.Search(StaffNumber);
            //test to se that the result is correct
            Assert.IsTrue(Search);
        }