public void Stub_Extension_Manager_Returns_True() { //Arrange StubExtensionManager stub = new StubExtensionManager(); FileChecker checker = new FileChecker(stub); //Act bool IsTrueFile = checker.CheckFile("myFile.exe"); //Assert Assert.IsTrue(IsTrueFile); Assert.AreEqual(true, IsTrueFile); }
public void TestMethod1() { var res = FileChecker.CheckCourse("31"); Assert.AreEqual(res, true); }
public void TestMethod5() { var res = FileChecker.CheckDocument("_34./cx"); Assert.AreEqual(res, false); }
public void TestMethod6() { var res = FileChecker.CheckGroup("343.34"); Assert.AreEqual(res, false); }
public void TestMethod3() { var res = FileChecker.CheckLesson("Hello"); Assert.AreEqual(res, true); }
public void TestMethod4() { var res = FileChecker.CheckLastName(""); Assert.AreEqual(res, false); }
public void TestMethod1() { var res = FileChecker.CheckID("13"); Assert.AreEqual(res, false); }
public void TestMethod2() { var res = FileChecker.CheckMark("6"); Assert.AreEqual(res, false); }
public void TestMethod11() { var res = FileChecker.CheckCommision("343.34"); Assert.AreEqual(res, false); }
public void TestMethod10() { var res = FileChecker.CheckSalary("-3444"); Assert.AreEqual(res, false); }
public void TestMethod6() { var res = FileChecker.CheckHireDate("12"); Assert.AreEqual(res, false); }
public void TestMethod5() { var res = FileChecker.CheckHireDate("01.01.4999"); Assert.AreEqual(res, false); }
public void TestMethod4() { var res = FileChecker.CheckDepartment("ert456"); Assert.AreEqual(res, false); }