ReviewPaymentMethodsPresenter extends BasePresenter<ReviewPaymentMethods.View> implements ReviewPaymentMethods.Actions { @Override public void initialize() { setCurrentViewTracker(new ErrorMoreInfoCardViewTracker()); getView().initializeSupportedPaymentMethods(supportedPaymentMethods); } ReviewPaymentMethodsPresenter(final List<PaymentMethod> supportedPaymentMethods); @Override void initialize();  }
@Test public void whenInitializeThenShowSupportedPaymentMethodsList() { presenter.initialize(); verify(view).initializeSupportedPaymentMethods(stubPaymentMethodList); }