public void StudentFormFnameErroneusdate()
        {
            //create instance to test
            StudentForm stForm = new StudentForm(ref mainform, true);
            //define a test input and output value
            bool expectedResult = false;

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

            //checks results
            Assert.AreEqual(expectedResult, actualResult);
        }
        //checks id image for inccrect data
        public void StudentFormIdImageErroneusdate()
        {
            //create instance to test
            StudentForm stForm = new StudentForm(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);
        }
        public void StudentFormDateFormatTest()
        {
            //create instane to test
            StudentForm stForm = new StudentForm(ref mainform, true);
            //define a test input and output value

            bool expectedResult = false;

            stForm.SetDateAdded("19-08-19");

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

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