LSDController { public void initialize(MinecraftAccess minecraftAccess) { if (isInitialized()) { throw new IllegalStateException("multiple initializations of controller"); } this.minecraftAccess = minecraftAccess; initialized = true; log.info(getClass().getName() + " initialized by " + minecraftAccess.getClass().getName()); } private  LSDController(); static LSDController getInstance(); static Logger getLog(); static MinecraftAccess getMinecraftAccess(); static boolean isInitialized(); void initialize(MinecraftAccess minecraftAccess); String registerApiInstance(LibShapeDraw apiInstance, String ownerId); boolean unregisterApiInstance(LibShapeDraw apiInstance); void respawn(ReadonlyVector3 playerCoords, boolean isNewServer, boolean isNewDimension); void gameTick(ReadonlyVector3 playerCoords); void render(ReadonlyVector3 playerCoords, boolean isGuiHidden); boolean debugDump();  }
@Test(expected=IllegalStateException.class) public void testInitializeTwice() { ct.initialize(new MockMinecraftAccess()); }