Shape { public List<ShapeTransform> getTransforms() { makeTransforms(); return transformsReadonly; } Shape(Vector3 origin); boolean isVisible(); void setVisible(boolean visible); ReadonlyVector3 getOriginReadonly(); boolean isRelativeToOrigin(); List<ShapeTransform> getTransforms(); Shape addTransform(ShapeTransform transform); Shape removeTransform(ShapeTransform transform); Shape clearTransforms(); void onAdd(LibShapeDraw apiInstance); void onRemove(LibShapeDraw apiInstance); void onPreRender(MinecraftAccess mc); static final void glContextStandardSetup(); void onPostRender(MinecraftAccess mc); final void render(MinecraftAccess mc); @Override String toString();  }
@Test(expected=UnsupportedOperationException.class) public void testTransformsUnmodifiable() { new MockShape().getTransforms().add(new ShapeTranslate()); }