public void Can_LoadContentOfAFile()
        {
            var fileContent     = "my content";
            var returnedContent = _fileSystem.LoadContent(Path.Combine(_filesPath, _textFileName));

            Assert.Equal(returnedContent, fileContent);
        }
Exemplo n.º 2
0
        public void LoadAllContent_works()
        {
            var content = _provider.LoadContent("../../../dotnet-version-test.csproj");

            Assert.Contains("<ProjectGuid>fb420acf-9e12-42b6-b724-1eee9cbf251e</ProjectGuid>", content);
        }