public void GetRazorFiles_OneRazorFileInProject_ReturnsOneRazorFileWithExpectedFile()
        {
            CreateProject(@"d:\projects\AspNetMvcProject\MyProject.csproj");
            AddFileToProject(@"d:\projects\AspNetMvcProject\Views\Shared\_Layout.cshtml");
            MvcProjectFile file = GetRazorFiles().First();

            var expectedFile = new MvcProjectFile()
            {
                FullPath = @"d:\projects\AspNetMvcProject\Views\Shared\_Layout.cshtml",
                FileName = "_Layout.cshtml",
                FolderRelativeToProject = @"Views\Shared"
            };

            MvcProjectFileAssert.AreEqual(expectedFile, file);
        }
        public void GetRazorFiles_OneRazorWithFileExtensionInUpperCaseInProject_ReturnsOneRazorFileWithExpectedFileName()
        {
            CreateProject(@"d:\projects\AspNetMvcProject\MyProject.csproj");
            AddFileToProject(@"d:\projects\AspNetMvcProject\Views\Shared\TEST.CSHTML");
            MvcProjectFile fileName = GetRazorFiles().First();

            var expectedFileName = new MvcProjectFile()
            {
                FullPath = @"d:\projects\AspNetMvcProject\Views\Shared\TEST.CSHTML",
                FileName = "TEST.CSHTML",
                FolderRelativeToProject = @"Views\Shared"
            };

            MvcProjectFileAssert.AreEqual(expectedFileName, fileName);
        }
        public void GetAspxMasterPageFiles_OneMasterPageInProject_ReturnsOneMasterPageWithExpectedFile()
        {
            CreateProject(@"d:\projects\AspNetMvcProject\MyProject.csproj");
            AddFileToProject(@"d:\projects\AspNetMvcProject\Views\Shared\Site.Master");
            MvcProjectFile file = GetAspxMasterPageFiles().First();

            var expectedFile = new MvcProjectFile()
            {
                FullPath = @"d:\projects\AspNetMvcProject\Views\Shared\Site.Master",
                FileName = "Site.Master",
                FolderRelativeToProject = @"Views\Shared"
            };

            MvcProjectFileAssert.AreEqual(expectedFile, file);
        }