public void ReturnSandboxAsDefault()
        {
            var configuration = new PayPalRestConfiguration();

            var dictionary = configuration.ToDictionary();

            Assert.AreEqual("sandbox", dictionary["mode"]);
        }
        public void ReturnModeIfSet()
        {
            var configuration = new PayPalRestConfiguration {
                Mode = "SANDBOX"
            };

            var dictionary = configuration.ToDictionary();

            Assert.AreEqual("sandbox", dictionary["mode"]);
        }