コード例 #1
0
        public void IsImplicitlyIncludedFile(string path, bool expected)
        {
            var file     = new InMemoryAdditionalText(path, "");
            var pageData = new RazorPageItem(file);

            // Act
            var result = PagesFacts.IsImplicitlyIncludedFile(pageData);

            // Assert
            result.Should().Be(expected);
        }