TextServer extends Thread { public boolean isStarted() { return started; } TextServer(final String hostname, final int serverPort);  TextServer(final int serverPort); void setAutoAcknowledge(final boolean value); void addTextListener(final TextListener textListener); ConnectionInformation getConnectionInformation(); @Override void run(); boolean isStarted(); void acknowledge(final int seq); void waitStarted(); void waitConnected(); void sendInput(final String input); void stopServer(); boolean isConnected();  }
@Test public void testIsStarted() { Assert.assertTrue(server.isStarted()); }