@Test
public void listCatalogsWithOther() throws SQLException {

    // Mock connection
    final Connection connection = Mockito.mock(Connection.class);
    Mockito.when(connection.getCatalog()).thenReturn("kylo");
    // Test listing catalogs
    final JdbcSchemaParser parser = new PostgreSqlSchemaParser();
    final List<JdbcCatalog> catalogs = parser.listCatalogs(connection, null, null);
    Assert.assertEquals(Collections.emptyList(), catalogs);
}