public void ThatWeFindForbiddenFolders(string folder) { var sut = new TestAdapter.NUnit3TestExecutor(); sut.InitializeForbiddenFolders(); Assert.That(sut.CheckDirectory(folder)); }
public void ThatForbiddenFoldersAreUnique() { var sut = new TestAdapter.NUnit3TestExecutor(); sut.InitializeForbiddenFolders(); var sutunique = sut.ForbiddenFolders.Distinct(); Assert.That(sutunique.Count(), Is.EqualTo(sut.ForbiddenFolders.Count), "There are duplicate entries in ForbiddenFolders"); }