public void Test_CreateGridAndBOEditorControlGeneric_WithBOEditorPanel_ShouldCreateItem() { //---------------Set up test pack------------------- IControlFactory factory = GetControlFactory(); MyBO.LoadDefaultClassDef(); var boEditorControl = new BOEditorControlStubVWG(); //---------------Assert Precondition---------------- //---------------Execute Test ---------------------- var extendedTextBox = factory.CreateGridAndBOEditorControl <MyBO>(boEditorControl); //---------------Test Result ----------------------- Assert.IsNotNull(extendedTextBox); }