public void BaseUriIsLiveUriWhenUsingLiveConfiguration()
        {
            // given
            var subject = ClientConfiguration.ForLive(_accessToken);

            // when
            var result = subject.BaseUri;

            // then
            Assert.That(result, Is.EqualTo("https://api.gocardless.com/"));
        }
        public void AccessTokenIsNotSuppliedForLiveConfigurationThrows(string accessToken)
        {
            // given
            // when
            TestDelegate test = () => ClientConfiguration.ForLive(accessToken);

            // then
            var ex = Assert.Throws <ArgumentException>(test);

            Assert.That(ex.ParamName, Is.EqualTo(nameof(accessToken)));
        }
 public void Setup()
 {
     _clientConfiguration = ClientConfiguration.ForLive("accesstoken");
     _httpTest            = new HttpTest();
 }