public void HasRazorCoreCapability_NoCapabilities_ReturnsFalse()
        {
            // Arrange
            var projectCapabilities = Array.Empty <string>();
            var projectInstance     = new ProjectInstance(ProjectRootElement.Create());
            var context             = new ProjectConfigurationProviderContext(projectCapabilities, projectInstance);
            var provider            = new TestCoreProjectConfigurationProvider();

            // Act
            var result = provider.HasRazorCoreCapability(context);

            // Assert
            Assert.False(result);
        }
        public void HasRazorCoreCapability_DotNetCoreWebCapability_ReturnsTrue()
        {
            // Arrange
            var projectCapabilities = new[] { CoreProjectConfigurationProvider.DotNetCoreWebCapability };
            var projectInstance     = new ProjectInstance(ProjectRootElement.Create());
            var context             = new ProjectConfigurationProviderContext(projectCapabilities, projectInstance);
            var provider            = new TestCoreProjectConfigurationProvider();

            // Act
            var result = provider.HasRazorCoreCapability(context);

            // Assert
            Assert.True(result);
        }