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)
267
Mock<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);
298
Mock<DesignerFrame> mockDesignerFrame = new(_designer.
_mockSite
.Object) { CallBase = true };
TestControlDesigner.Mocks.cs (1)
31
_control.Site =
_mockSite
.Object;