void () { assertEquals("Mouse shortcuts with equal data are equal", new MouseShortcut(MouseEvent.BUTTON1, 0, 1), new MouseShortcut(MouseEvent.BUTTON1, 0, 1)); assertEquals("Mouse shortcuts with equal data are equal", new MouseShortcut(MouseEvent.BUTTON2, InputEvent.ALT_DOWN_MASK, 2), new MouseShortcut(MouseEvent.BUTTON2, InputEvent.ALT_DOWN_MASK, 2)); }