public void TestInitialize() { workspace = new AdhocWorkspace(); activeSolutionBoundTracker = new ConfigurableActiveSolutionBoundTracker(); loggerMock = new Mock <ILogger>(); sonarQubeServiceMock = new Mock <ISonarQubeService>(); vsSolutionMock = new Mock <IVsSolution>(); vsSolutionMock.As <IVsSolution5>(); // Allows to cast IVsSolution into IVsSolution5 }
public void TestInitialize() { this.activeSolutionBoundTracker = new ConfigurableActiveSolutionBoundTracker(); this.activeSolutionTracker = new ConfigurableActiveSolutionTracker(); var serviceProvider = new ConfigurableServiceProvider(); this.projectSystemHelper = new ConfigurableVsProjectSystemHelper(serviceProvider); this.ruleSetProvider = new ConfigurableSolutionRuleSetsInformationProvider(); loggerMock = new Mock <ILogger>(); }