public void Should_render_a_view_result_with_correct_model() { var contexts = new Collection<ReactiveRequestContext> { new ReactiveRequestContext{ViewData = new ViewDataDictionary()} }; _observable = contexts.ToObservable(); const string testString = "My Test String"; _observable.ToView(m => testString); Assert.AreEqual(testString, contexts[0].ViewData.Model); }