public void TestCreatePaymentWithBoleto() { Moip.Models.PaymentBoletoOrDebitRequest paymentRequest = Helpers.RequestsCreator.CreatePaymentWithBoletoRequest(); Moip.Models.PaymentResponse paymentResponse = controller.CreateBoletoOrDebit(GetClient().Orders.CreateOrder(Helpers.RequestsCreator.createOrderRequest()).Id, paymentRequest); Assert.NotNull(paymentResponse.Id, "Id should not be null"); Assert.AreEqual("BOLETO", paymentResponse.FundingInstrument.Method, "Should match exactly (string literal match)"); Assert.AreEqual("2020-09-30", paymentResponse.FundingInstrument.Boleto.ExpirationDate, "Should match exactly (string literal match)"); Assert.AreEqual("TESTETETSTTTST", paymentResponse.FundingInstrument.Boleto.InstructionLines.First, "Should match exactly (string literal match)"); Assert.AreEqual("tfcsddlksjsd", paymentResponse.FundingInstrument.Boleto.InstructionLines.Second, "Should match exactly (string literal match)"); Assert.AreEqual("lkshglashiuahgha", paymentResponse.FundingInstrument.Boleto.InstructionLines.Third, "Should match exactly (string literal match)"); Assert.AreEqual("http://", paymentResponse.FundingInstrument.Boleto.LogoUri, "Should match exactly (string literal match)"); Assert.AreEqual("https://checkout-sandbox.moip.com.br/boleto/" + paymentResponse.Id + "/print", paymentResponse.Links.PayBoleto.PrintHref, "Should match exactly (string literal match)"); Assert.AreEqual("https://checkout-sandbox.moip.com.br/boleto/" + paymentResponse.Id, paymentResponse.Links.PayBoleto.RedirectHref, "Should match exactly (string literal match)"); }