### Question:
RedshiftDatabaseMeta extends PostgreSQLDatabaseMeta { @Override public String[] getUsedLibraries() { return new String[] { "RedshiftJDBC4_1.0.10.1010.jar" }; } RedshiftDatabaseMeta(); @Override int getDefaultDatabasePort(); @Override String getDriverClass(); @Override String getURL( String hostname, String port, String databaseName ); @Override String getExtraOptionsHelpText(); @Override boolean isFetchSizeSupported(); @Override boolean supportsSetMaxRows(); @Override String[] getUsedLibraries();  }### Answer:
@Test public void testGetUsedLibraries() throws Exception { String[] libs = dbMeta.getUsedLibraries(); assertNotNull( libs ); assertEquals( 1, libs.length ); assertEquals( "RedshiftJDBC4_1.0.10.1010.jar", libs[0] ); }