コード例 #1
0
        public void ExistingFile_CanBeFound()
        {
            // arrange
            var projectDirectory = ProjectHelpers.GetProjectPath();
            var path             = Path.Combine(projectDirectory, TestSource.Name);

            //act
            //assert
            TestSource.FullName.Should().Be(path);
            TestSource.FilesAndFolders.Should().NotBeEmpty();
            TestSource.GetItems().Should().NotBeEmpty();
        }