|
@@ -175,7 +175,7 @@ public class ModalStackTest extends BaseTest {
|
175
|
175
|
|
176
|
176
|
@Test
|
177
|
177
|
public void dismissAllModal_resolvesPromiseSuccessfullyWhenCalledBeforeRootIsSet() {
|
178
|
|
- CommandListenerAdapter spy = new CommandListenerAdapter();
|
|
178
|
+ CommandListenerAdapter spy = spy(new CommandListenerAdapter());
|
179
|
179
|
uut.dismissAllModals(null, Options.EMPTY, spy);
|
180
|
180
|
verify(spy).onSuccess("");
|
181
|
181
|
}
|