//checks email for incorrect data
        public void StaffFormEmailErroneusdate()
        {
            //create instance to test
            StaffForm stForm = new StaffForm(ref mainform, true);
            //define a test input and output value
            bool expectedResult = false;

            stForm.SetEmailAdded("*****@*****.**");
            //run the method under test
            bool actualResult = stForm.ValidateFields();

            //checks results
            Assert.AreEqual(expectedResult, actualResult);
        }
        //checks id image for inccrect data
        public void StaffFormIdImageErroneusdate()
        {
            //create instance to test
            StaffForm stForm = new StaffForm(ref mainform, true);
            //define a test input and output value
            bool expectedResult = false;

            stForm.SetIdImagedded("https:blackpool/301893060373");
            //run the method under test
            bool actualResult = stForm.ValidateFields();

            //checks results
            Assert.AreEqual(expectedResult, actualResult);
        }
        //Checks phone no for incorrect data
        public void StaffFormPhoneNoErroneusdate()
        {
            //create instance to test
            StaffForm stForm = new StaffForm(ref mainform, true);
            //define a test input and output value
            bool expectedResult = false;

            stForm.SetPhoneNoAdded("63927086202");
            //run the method under test
            bool actualResult = stForm.ValidateFields();

            //checks results
            Assert.AreEqual(expectedResult, actualResult);
        }
        public void EnrolmentFormNullDateTest()
        {
            //create instane to test
            StaffForm stForm = new StaffForm(ref mainform, true);
            //define a test input and output value

            bool expectedResult = false;

            stForm.SetDateAdded("0000-00-00");

            //run the method under test
            bool actualResult = stForm.ValidateFields();

            //checks results
            Assert.AreEqual(expectedResult, actualResult);
        }