|
@@ -52,12 +52,12 @@ public class EventTriggeringFocusListenerTest {
|
52
|
52
|
@Test
|
53
|
53
|
public void testWindowGainedFocus() throws Exception {
|
54
|
54
|
instance.windowGainedFocus(windowEvent);
|
55
|
|
- verify(eventBus).publish(any(ClientFocusGainedEvent.class));
|
|
55
|
+ verify(eventBus).publishAsync(any(ClientFocusGainedEvent.class));
|
56
|
56
|
}
|
57
|
57
|
|
58
|
58
|
@Test
|
59
|
59
|
public void testWindowLostFocus() throws Exception {
|
60
|
60
|
instance.windowLostFocus(windowEvent);
|
61
|
|
- verify(eventBus).publish(any(ClientFocusLostEvent.class));
|
|
61
|
+ verify(eventBus).publishAsync(any(ClientFocusLostEvent.class));
|
62
|
62
|
}
|
63
|
63
|
}
|