public void testListShoppingCartPaymentMethodsTestCases() {
try {
MessageProcessor flow = lookupFlowConstruct("list-shopping-cart-payment-methods");
MuleEvent response = flow.process(getTestEvent(testObjects));
ShoppingCartPaymentMethodResponseEntityArray cartPayments = (ShoppingCartPaymentMethodResponseEntityArray) response.getMessage().getPayload();
assertNotNull(cartPayments);
System.out.println(cartPayments.getCode());
System.out.println(cartPayments.getTitle());
for (AssociativeEntity entity : cartPayments.getCc_types()) {
System.out.println(entity.getKey() + " : " + entity.getValue());
}
}
catch (Exception e) {
e.printStackTrace();