### Question:
ModalStack { public void setDefaultOptions(Options defaultOptions) { presenter.setDefaultOptions(defaultOptions); } ModalStack(Activity activity); @RestrictTo(RestrictTo.Scope.TESTS)  ModalStack(ModalPresenter presenter); void setEventEmitter(EventEmitter eventEmitter); void setModalsLayout(ViewGroup modalsLayout); void setRootLayout(ViewGroup rootLayout); void setDefaultOptions(Options defaultOptions); void showModal(ViewController viewController, ViewController root, CommandListener listener); boolean dismissModal(String componentId, @Nullable ViewController root, CommandListener listener); void dismissAllModals(ViewController root, Options mergeOptions, CommandListener listener); boolean handleBack(CommandListener listener, ViewController root); ViewController get(int index); boolean isEmpty(); int size(); @Nullable ViewController findControllerById(String componentId); void destroy();  }### Answer:
@Test public void setDefaultOptions() { Options defaultOptions = new Options(); uut.setDefaultOptions(defaultOptions); verify(presenter).setDefaultOptions(defaultOptions); }