public async Task CreatePiiTokenTest() { // Arrange var args = new PiiTokenCreateArguments(); _stripe.Post( Arg.Is <StripeRequest <PiiTokenCreateArguments, Token> >( a => a.UrlPath == "tokens" && a.Model == args), _cancellationToken) .Returns(Task.FromResult(new StripeResponse <Token>())); // Act var response = await _client.CreatePiiToken(args, _cancellationToken); // Assert response.Should().NotBeNull(); }