public void TestSetsAndGets() { UIFormGridInheritor formGrid = new UIFormGridInheritor(); Assert.AreEqual("rel", formGrid.RelationshipName); formGrid.SetRelationshipName("newrel"); Assert.AreEqual("newrel", formGrid.RelationshipName); Assert.AreEqual("correl", formGrid.CorrespondingRelationshipName); formGrid.SetCorrespondingRelationshipName("newcorrel"); Assert.AreEqual("newcorrel", formGrid.CorrespondingRelationshipName); Assert.AreEqual(typeof(DataGridView), formGrid.GridType); formGrid.SetGridType(typeof(ComboBox)); Assert.AreEqual(typeof(ComboBox), formGrid.GridType); }