Configuration { public boolean isPersistentConnections() { return persistentConnection; } Configuration(String[] args); int getPort(); File getDocumentRoot(); boolean isPersistentConnections(); Long getDelay();  }
@Test public void persistentConnections() throws Exception { Configuration c = new Configuration(new String[] { "1", "persistent-connection=false"}); assertFalse(c.isPersistentConnections()); }
@Test public void persistentConnections2() throws Exception { Configuration c = new Configuration(new String[] { "1", "/tmp", "persistent-connection=false"}); assertFalse(c.isPersistentConnections()); }