DatabaseInformations implements Serializable { public List<String> getRequestNames() { return requestNames; } DatabaseInformations(int selectedRequestIndex); static int parseRequestIndex(String requestIndex); int getNbColumns(); int getSelectedRequestIndex(); String getSelectedRequestName(); String[][] getResult(); List<String> getRequestNames(); static String explainPlanFor(String sqlRequest); @Override String toString();  }
@Test public void testDatabase() { for (final Database database : Database.values()) { final List<String> requestNames = database.getRequestNames(); assertTrue("getRequestNames", requestNames != null && !requestNames.isEmpty()); for (final String requestName : requestNames) { assertNotNull("getRequestByName", database.getRequestByName(requestName)); } } }