LibShapeDraw { public Set<LSDEventListener> getEventListeners() { return eventListenersReadonly; } LibShapeDraw();  LibShapeDraw(String ownerId); boolean unregister(); @Deprecated static String getVersion(); @Deprecated static boolean isControllerInitialized(); LibShapeDraw verifyInitialized(); MinecraftAccess getMinecraftAccess(); boolean isVisible(); LibShapeDraw setVisible(boolean visible); boolean isVisibleWhenHidingGui(); LibShapeDraw setVisibleWhenHidingGui(boolean visibleWhenHidingGui); Set<Shape> getShapes(); LibShapeDraw addShape(Shape shape); LibShapeDraw removeShape(Shape shape); LibShapeDraw clearShapes(); Set<LSDEventListener> getEventListeners(); LibShapeDraw addEventListener(LSDEventListener listener); LibShapeDraw removeEventListener(LSDEventListener listener); LibShapeDraw clearEventListeners(); boolean debugDump(); String getInstanceId(); @Override String toString();  }
@Test(expected=UnsupportedOperationException.class) public void testEventListenersUnmodifiable() { lib.getEventListeners().add(new MockLSDEventListener()); }