public void GetContainerControl_WithoutStyle() { IContainerControlTest cct = new IContainerControlTest(); Assert.IsNull(cct.GetContainerControl(), "IContainerControlTest.GetContainerControl"); Button b = new Button(); b.Parent = cct; Assert.IsNull(b.GetContainerControl(), "Button.GetContainerControl/without parent"); }
public void GetContainerControl_WithoutStyle () { IContainerControlTest cct = new IContainerControlTest (); Assert.IsNull (cct.GetContainerControl (), "IContainerControlTest.GetContainerControl"); Button b = new Button (); b.Parent = cct; Assert.IsNull (b.GetContainerControl (), "Button.GetContainerControl/without parent"); }