public void SuccessfulClientListing() { Client[] clients = null !; "When getting all clients".x( async() => { var response = await ManagerClient.GetAllClients(GrantedToken.AccessToken).ConfigureAwait(false) as Option <Client[]> .Result; Assert.NotNull(response); clients = response !.Item; }); "Then contains list of clients".x(() => { Assert.All(clients, x => { Assert.NotNull(x.ClientId); }); }); }