public void GetConvertion_notSuccess()
        {
            string from = "USD";
            string to   = "BRL";

            var liveCurrencyFake = new CurrencyLayerFake(Json.LiveRequest.SuccessFalse);
            var _currency        = new Application.App.Currency(liveCurrencyFake);

            var response = _currency.GetConvertion(from, to);

            Assert.AreEqual(false, response.Result.success);
        }
        public void GetConvertion_value_1()
        {
            string from = "BRL";
            string to   = "BRL";

            var liveCurrencyFake = new CurrencyLayerFake(Json.LiveRequest.SuccessTrue);
            var _currency        = new Application.App.Currency(liveCurrencyFake);

            var response = _currency.GetConvertion(from, to);

            Assert.AreEqual(true, response.Result.success);
            Assert.AreEqual(1, ((ResponseConvertion)response.Result.data).value);
            Assert.AreEqual("1,00", ((ResponseConvertion)response.Result.data).valueFormatted2);
            Assert.AreEqual("1,000", ((ResponseConvertion)response.Result.data).valueFormatted3);
        }