public void GetAllSubscriptions_MockApiTest() { Task.Run(async() => { var result = await _fixture.GetAllSubscriptions(true); Assert.NotNull(result); }).GetAwaiter().GetResult(); }
public async Task <List <MicrosoftSubscription> > GetAllSubscriptions([FromQuery] bool mock = false) { var result = await service.GetAllSubscriptions(mock); return(result); }