public void ProjectDoesntNeedReload(string oldTargetFramework, string oldTargetFrameworks, string newTargetFramework, string newTargetFrameworks)
        {
            var oldProperties = CreatePropertiesCollection(oldTargetFramework, oldTargetFrameworks);
            var newProperties = CreatePropertiesCollection(newTargetFramework, newTargetFrameworks);
            var interceptor   = new ProjectReloadInterceptor();
            var reloadResult  = interceptor.InterceptProjectReload(oldProperties, newProperties);

            Assert.Equal(ProjectReloadResult.NoAction, reloadResult);
        }
        private static ProjectReloadInterceptor CreateInstance()
        {
            var accessor = IProjectAccessorFactory.Create();
            var provider = new TargetFrameworkProjectConfigurationDimensionProvider(accessor);

            var project  = UnconfiguredProjectFactory.Create();
            var instance = new ProjectReloadInterceptor(project);

            instance.DimensionProviders.Add(provider);

            return(instance);
        }