/// <summary> /// Configures the fixture to construct a <see cref="BreakfastService"/> subject /// and call <see cref="BreakfastService.GetBreakfastAsync"/> with the specified breakfast item types. /// </summary> public static ITestFixture WhenGettingBreakfast(this ITestFixture fixture, params BreakfastItemType[] types) => fixture.When <BreakfastService, Breakfast>(x => x.GetBreakfastAsync(new GetBreakfastRequest { BreakfastItems = types }));