public void ShouldReturnResponseObjectWithErrorMessageWhenResponseMessageIsIncomplete()
        {
            //Arrange
            string response = new StreamReader(expectedResultPath + "\\SearchPaymentResponseIncomplete.json").ReadToEnd();
            SearchPaymentTransactionFormatter searchPaymentFormatter = new SearchPaymentTransactionFormatter();
            //Act
            BaseResponse searchPaymentResponse = searchPaymentFormatter.ParseMessageToResponse(response);

            //Assert
            Assert.AreEqual("Ocorreu um erro ao formatar a mensagem de resposta na API da Cielo. Verifique o log de erro para mais detalhes", searchPaymentResponse.ReturnMessage);
        }
        public void ShouldReturnSearchPaymentResponseObjectWithAllParametersFilled()
        {
            //Arrange
            string response = new StreamReader(expectedResultPath + "\\SearchPaymentResponse.json").ReadToEnd();
            SearchPaymentTransactionFormatter searchPaymentFormatter = new SearchPaymentTransactionFormatter();
            //Act
            BaseResponse paymentResponse = searchPaymentFormatter.ParseMessageToResponse(response);

            //Assert
            Assert.AreEqual(1, paymentResponse.Status);
        }