public void SubViewsCorrect(string content, string subview, bool expected) { GadgetMaster master = new GadgetMaster(testFactory); ContentBlock target = new ContentBlock(content, master); //master.AddContentBlock(target); Assert.AreEqual(expected, master.IsSubView(target, subview)); }