public async Task verify_correct_tokenize_url_called() { _http.RespondWith(@"{'account': 'test'}"); await _service.Tokenize(new CardConnectAccountRequest()); _http.ShouldHaveCalled("https://fts-uat.cardconnect.com/cardsecure/api/v1/ccn/tokenize"); }
public void verify_mock_responses_Tokenize() { var response = _service_no_config.Tokenize(new CardConnectAccountRequest() { account = "super_sweet_account" }); Assert.AreEqual("Mock CardConnect account response", response.Result.message); }