@Test
  public void testHandleNotifyDefaultSelection() {
    JsonObject properties = new JsonObject().add("altKey", true).add("shiftKey", true);
    handler.handleNotify(EVENT_DEFAULT_SELECTION, properties);

    ArgumentCaptor<Event> captor = ArgumentCaptor.forClass(Event.class);
    verify(spinner).notifyListeners(eq(SWT.DefaultSelection), captor.capture());
    assertEquals(SWT.ALT | SWT.SHIFT, captor.getValue().stateMask);
  }
  @Test
  public void testHandleNotifyModify() {
    handler.handleNotify(ClientMessageConst.EVENT_MODIFY, new JsonObject());

    verify(spinner, never()).notifyListeners(eq(SWT.Modify), any(Event.class));
  }