### Question:
EngineIoServerOptions { public EngineIoServerOptions setPingInterval(long pingInterval) throws IllegalStateException { if (mIsLocked) { throw new IllegalStateException("Ping interval cannot be set. Instance is locked."); } mPingInterval = pingInterval; return this; } private  EngineIoServerOptions(); static EngineIoServerOptions newFromDefault(); boolean isCorsHandlingDisabled(); EngineIoServerOptions setCorsHandlingDisabled(boolean corsHandlingDisabled); long getPingInterval(); EngineIoServerOptions setPingInterval(long pingInterval); long getPingTimeout(); EngineIoServerOptions setPingTimeout(long pingTimeout); String[] getAllowedCorsOrigins(); EngineIoServerOptions setAllowedCorsOrigins(String[] allowedCorsOrigins); Packet<?> getInitialPacket(); EngineIoServerOptions setInitialPacket(Packet<?> initialPacket); void lock(); int getMaxTimeoutThreadPoolSize(); EngineIoServerOptions setMaxTimeoutThreadPoolSize(int maxTimeoutThreadPoolSize); static final EngineIoServerOptions DEFAULT; static final String[] ALLOWED_CORS_ORIGIN_ALL; static final String[] ALLOWED_CORS_ORIGIN_NONE; }### Answer:
@Test(expected = IllegalStateException.class) public void testDefaultLocked2() { EngineIoServerOptions.DEFAULT.setPingInterval(0); }