public void FileNameDoesNotExist() { //Arrange FileProcess fp = new FileProcess(); bool fromCall; //Acto fromCall = fp.FileExist(BAD_FILE); //Assert Assert.IsFalse(fromCall); }
public void FileNameDoesExist() { //Arrange FileProcess fp = new FileProcess(); bool fromCall; //Acto fromCall = fp.FileExist(GOOD_FILE); //Assert Assert.IsTrue(fromCall); }
public void FileNameNullOrEmpty_throwsArgumentNullException() { FileProcess fp = new FileProcess(); Assert.Throws <ArgumentNullException>(() => fp.FileExist("")); }