1 write to _mockSite
System.Windows.Forms.Design.Tests (1)
TestControlDesigner.Mocks.cs (1)
30_mockSite = CreateMockSiteWithDesignerHost(_mockDesignerHost.Object);
5 references to _mockSite
System.Windows.Forms.Design.Tests (5)
ControlDesignerTests.cs (4)
267Mock<DesignerFrame> mockDesignerFrame = new(_designer._mockSite.Object) { CallBase = true }; 270_designer._mockSite.Setup(s => s.GetService(typeof(BehaviorService))).Returns(behaviorService); 296_designer._mockSite.Setup(s => s.GetService(typeof(IServiceProvider))).Returns(mockServiceProvider.Object); 298Mock<DesignerFrame> mockDesignerFrame = new(_designer._mockSite.Object) { CallBase = true };
TestControlDesigner.Mocks.cs (1)
31_control.Site = _mockSite.Object;