public async void IndexGet_GivenOrganisation_DefaultViewShouldBeReturned() { var returns = new ReturnsData(A.Fake <List <ReturnData> >(), new Quarter(2019, QuarterType.Q1), A.Fake <List <Quarter> >(), QuarterWindowTestHelper.GetDefaultQuarterWindow(), DateTime.Now); A.CallTo(() => weeeClient.SendAsync(A <string> ._, A <GetReturns> ._)).Returns(returns); var result = await controller.Index(A.Dummy <Guid>(), A.Dummy <int?>(), A.Dummy <string>()) as ViewResult; result.ViewName.Should().BeEmpty(); }
public async void IndexGet_GivenOrganisation_DefaultViewShouldBeReturned() { var result = await controller.Index(fixture.Create <Guid>(), fixture.Create <int?>(), fixture.Create <string>()) as ViewResult; result.ViewName.Should().BeEmpty(); }