### Question:
Control { public CommandEvent readEvent() throws Exception { return readEvent(0, MILLISECONDS); } Control(URL location); void connect(); void disconnect(); void writeCommand(Command command); CommandEvent readEvent(); CommandEvent readEvent(int timeout, TimeUnit unit); boolean isConnected(); void notifyBarrier(String barrierName); void sendAwaitBarrier(String barrierName);  }### Answer:
@Test(expected = IllegalStateException.class) public void shouldNotReadEvent() throws Exception { control.readEvent(); }