1 write to _designerHostMock
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ControlCommandSetTests.cs (1)
25
_designerHostMock
= new();
7 references to _designerHostMock
System.Windows.Forms.Design.Tests (7)
System\Windows\Forms\Design\ControlCommandSetTests.cs (7)
32
_siteMock.Setup(s => s.GetService(typeof(IDesignerHost))).Returns(
_designerHostMock
.Object);
37
_designerHostMock
.Setup(h => h.RootComponent).Returns(_baseControl);
80
_designerHostMock
.Setup(h => h.RootComponent).Returns(_baseControl);
81
_designerHostMock
.Setup(h => h.Container.Components).Returns(new ComponentCollection([component]));
104
_designerHostMock
.Setup(h => h.RootComponent).Returns(_baseControl);
108
_designerHostMock
.Setup(h => h.GetDesigner(childComponent)).Returns(designerMock.Object);
122
_designerHostMock
.Object,