P6SpyDriverRecognizer implements JDBCDriverComposeURLRecognizer { @Override public Collection<String> getURLPrefixes() { return Collections.singletonList("jdbc:p6spy:"); }  @Override JDBCDriverURLRecognizer getDriverURLRecognizer(final String url); @Override String getDatabaseType(); @Override Collection<String> getURLPrefixes(); @Override String getDriverClassName(); static final String DRIVER_CLASS_NAME; }
@Test public void getURLPrefixes() { assertThat(recognizer.getURLPrefixes(), is(Collections.singletonList("jdbc:p6spy:"))); }