public void ThatWeAcceptNonForbiddenFolders(string folder) { var sut = new TestAdapter.NUnit3TestExecutor(); sut.InitializeForbiddenFolders(); Assert.That(sut.CheckDirectory(folder), Is.False); }
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"); }