public async Task Call_GetAllShowIds_on_AuditoriumSeatingApi_when_asking_for_all_showIds() { var auditoriumProvider = Substitute.For <IProvideAuditoriumSeating>(); var expectedShowIds = new[] { new ShowIdDto("show1", ""), new ShowIdDto("show2", "show2"), new ShowIdDto("7", "7") }; auditoriumProvider.GetAllShowIds().Returns(expectedShowIds); var controller = new ShowsController(auditoriumProvider, Substitute.For <IProvideReservedSeats>(), Substitute.For <ISuggestSeats>(), Substitute.For <IProvidePrices>(), null, null, null); var showIds = await controller.GetAllShowIds(); Check.That(showIds.Value).ContainsExactly(expectedShowIds); }