public void AssemblyReferencesProviderContext_IsApplicable_False() { var capabilities = IProjectCapabilitiesScopeFactory.Create(); var project = ConfiguredProjectFactory.Create(capabilities: capabilities); AssemblyReferencesProviderContext context = new AssemblyReferencesProviderContext(project); Assert.False(context.IsApplicable()); }
public void AssemblyReferencesProviderContext_IsApplicable() { var capabilities = IProjectCapabilitiesScopeFactory.Create(capabilities: new string[] { ProjectCapability.ReferenceManagerAssemblies }); var project = ConfiguredProjectFactory.Create(capabilities: capabilities); AssemblyReferencesProviderContext context = new AssemblyReferencesProviderContext(project); Assert.True(context.IsApplicable()); }