public ActionResult ExpectFixtureA(Form1ViewModel vm) { try { Assert.That(vm, IsSame.ViewModelAs(Form1Fixtures.A)); } catch (Exception e) { return new ContentResult {Content = e.ToString(), ContentType = "text/plain"}; } return new EmptyResult(); }
public void When_reading_a_model() { _viewModel = _page.ReadModel(); }