@Test(expected = IllegalStateException.class) public void shouldNotReadEvent() throws Exception { control.readEvent(); }
public CommandEvent readEvent() throws Exception { return readEvent(0, MILLISECONDS); }
Control { public CommandEvent readEvent() throws Exception { return readEvent(0, MILLISECONDS); } }
Control { public CommandEvent readEvent() throws Exception { return readEvent(0, MILLISECONDS); } Control(URL location); }
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); }
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);  }