public void FormValidateTest() { //TODO txtArchivePath.Text = ""; txtInputPath.Text = ""; txtOutputPath.Text = ""; Assert.AreEqual("Choose archive file to continue!", MainScreenLogic.FormValidate(txtArchivePath, txtInputPath, txtOutputPath)); txtArchivePath.Text = "fsdgsdfghdf"; txtInputPath.Text = ""; txtOutputPath.Text = ""; Assert.AreEqual("Choose input test case file to continue!", MainScreenLogic.FormValidate(txtArchivePath, txtInputPath, txtOutputPath)); txtArchivePath.Text = "fsdgsdfghdf"; txtInputPath.Text = "ghsjhfgsydtgrfhj"; txtOutputPath.Text = ""; Assert.AreEqual("Choose output test case file to continue!", MainScreenLogic.FormValidate(txtArchivePath, txtInputPath, txtOutputPath)); txtArchivePath.Text = "fsdgsdfghdf"; txtInputPath.Text = "ghsjhfgsydtgrfhj"; txtOutputPath.Text = "hejwhfdkhtfsejhflsldjfjaslk"; Assert.AreEqual("OK", MainScreenLogic.FormValidate(txtArchivePath, txtInputPath, txtOutputPath)); }