public void GetFolderByName_FolderInFinalSubFolder_IsFoundByNameWithSubDirsExplicit() { // Arrange string folderName = "sub02"; // Act ITestSourceItem testSourcesItem = TestSource.GetFolderByName(folderName, true); // Assert testSourcesItem.Should().NotBeNull(); testSourcesItem.Name.Should().Be(folderName); }
public void GetFolderByName_FolderInRoot_IsFoundByNameWithoutSubDirs() { // Arrange string folderName = "FileContentTests"; // Act ITestSourceItem testSourcesItem = TestSource.GetFolderByName(folderName, false); // Assert testSourcesItem.Should().NotBeNull(); testSourcesItem.Name.Should().Be(folderName); }