public void CreateTokenFromCode_RaisesIfWrongCredentials()
{
gateway = new BraintreeGateway(
"access_token$development$merchant_id$_oops_this_is_not_a_client_id_and_secret"
);
Assert.Throws<ConfigurationException>(() => gateway.OAuth.CreateTokenFromCode(new OAuthCredentialsRequest()));
}