### Question:
Control { public void connect() throws Exception { URLConnection newConnection = location.openConnection(); newConnection.connect(); connection = newConnection; bytesIn = connection.getInputStream(); lineBuf = new ByteArrayOutputStream(); } 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 public void shouldConnect() throws Exception { control.connect(); }