public void IsAnonymousViewCorrect(string content, bool expected) { GadgetMaster master = new GadgetMaster(testFactory); ContentBlock target = new ContentBlock(content, master); Assert.AreEqual(expected, target.IsAnonymousView()); }