public void ThenReturnsView() { var fixture = new WhenGettingFileUploadStartFixture(); var result = fixture.Act(); result.VerifyReturnsViewModel(); }
public void ThenProviderIdIsMapped() { var fixture = new WhenGettingFileUploadStartFixture(); var viewResult = fixture.Act(); var model = viewResult.VerifyReturnsViewModel().WithModel <FileUploadStartViewModel>(); Assert.AreEqual(fixture.ProviderId, model.ProviderId); }