WorldpayCheckoutFacadeDecorator implements CheckoutFlowFacade { @Override public boolean hasShippingItems() { return getCheckoutFlowFacade().hasShippingItems(); }  AddressData getBillingAddress(); @Override CCPaymentInfoData createPaymentSubscription(final CCPaymentInfoData paymentInfoData); @Override boolean authorizePayment(final String securityCode); @Override boolean hasNoPaymentInfo(); @Override OrderData placeOrder(); @Override CartData getCheckoutCart(); @Override List<? extends AddressData> getSupportedDeliveryAddresses(boolean visibleAddressesOnly); @Override boolean setCheapestDeliveryModeForCheckout(); @Override boolean isTaxEstimationEnabledForCart(); @Override boolean isNewAddressEnabledForCart(); @Override boolean isRemoveAddressEnabledForCart(); @Override boolean setPaymentDetails(final String paymentInfoId); @Override boolean hasCheckoutCart(); @Override boolean hasShippingItems(); @Override List<PointOfServiceData> getConsolidatedPickupOptions(); @Override List<? extends DeliveryModeData> getSupportedDeliveryModes(); @Override boolean removeDeliveryMode(); @Override boolean setDeliveryMode(final String deliveryModeCode); @Override @Deprecated(since = "1808") List<CountryData> getDeliveryCountries(); @Override boolean setDeliveryAddressIfAvailable(); @Override boolean containsTaxValues(); @Override List<CardTypeData> getSupportedCardTypes(); @Override boolean setDeliveryModeIfAvailable(); @Override boolean setDefaultPaymentInfoForCheckout(); @Override CheckoutPciOptionEnum getSubscriptionPciOption(); @Override boolean hasNoDeliveryAddress(); @Override boolean isExpressCheckoutAllowedForCart(); @Override List<CartModificationData> consolidateCheckoutCart(final String pickupPointOfServiceName); @Override @Deprecated(since = "1808") List<CountryData> getBillingCountries(); @Override List<CountryData> getCountries(final CountryType countryType); @Override boolean hasNoDeliveryMode(); @Override AddressData getDeliveryAddressForCode(final String code); @Override boolean setPaymentInfoIfAvailable(); @Override boolean setDeliveryAddress(final AddressData address); @Override AddressData getAddressDataForId(final String addressId, final boolean visibleAddressesOnly); @Override boolean isExpressCheckoutEnabledForStore(); @Override boolean setDefaultDeliveryAddressForCheckout(); @Override ExpressCheckoutResult performExpressCheckout(); @Override String getCheckoutFlowGroupForCheckout(); @Override boolean removeDeliveryAddress(); @Override boolean hasPickUpItems(); @Override void prepareCartForCheckout(); @Override boolean hasValidCart(); CheckoutFlowFacade getCheckoutFlowFacade(); @Required void setCheckoutFlowFacade(final CheckoutFlowFacade checkoutFlowFacade); CartService getCartService(); @Required void setCartService(final CartService cartService); @Required void setAddressConverter(final Converter<AddressModel, AddressData> addressConverter);  }
@Test public void hasShippingItems() { testObj.hasShippingItems(); verify(checkoutFlowFacadeMock).hasShippingItems(); }