TileSelector { public void select(Tile<?> tile) { selectedTiles.add(tile); } private  TileSelector(WidgetPane pane); static TileSelector forPane(WidgetPane pane); ObservableSet<Tile<?>> getSelectedTiles(); boolean isSelected(Tile<?> tile); boolean areTilesSelected(); void deselectAll(); void select(Tile<?> tile); void deselect(Tile<?> tile); void toggleSelect(Tile<?> tile); void selectOnly(Tile<?> tile);  }
@Test public void testDragToMoveMultiple() { testDragToSelectMultiple(); selector.select(firstTile); selector.select(secondTile); clickOn(firstTile) .drag() .dropBy(0, 128); waitForFxEvents(); assertEquals(new GridPoint(0, 1), pane.getTileLayout(firstTile).origin); assertEquals(new GridPoint(1, 1), pane.getTileLayout(secondTile).origin); }