public void ContextHandlerRunReturnsContextView() { var handler = new ContextHandler { Context = "ContextTest1" }; var result = handler.Run(); Assert.AreEqual(typeof(ContextView), result.GetType()); var view = (ContextView)result; Assert.AreEqual("ContextTest1", view.Context.Name); Assert.AreEqual(3, view.Assemblies.Count); Assert.AreEqual(16, view.Namespaces.Count); }