### Question:
JcrDriver implements java.sql.Driver { public String getVersion() { return getDriverMetadata().getVersion(); } JcrDriver(); static JcrDriver getInstance(); @Override boolean acceptsURL( String url ); @Override DriverPropertyInfo[] getPropertyInfo( String url,
                                                 Properties info ); @Override Connection connect( String url,
                               Properties info ); @Override int getMajorVersion(); @Override int getMinorVersion(); String getVendorName(); String getVendorUrl(); String getVersion(); @Override boolean jdbcCompliant(); void setContextFactory( JcrContextFactory factory ); static final String WORKSPACE_PROPERTY_NAME; static final String REPOSITORY_PROPERTY_NAME; static final String USERNAME_PROPERTY_NAME; static final String PASSWORD_PROPERTY_NAME; static final String TEIID_SUPPORT_PROPERTY_NAME; static final String JNDI_URL_PREFIX; static final String HTTP_URL_PREFIX; public JcrContextFactory contextFactory; }### Answer:
@Test public void shouldHaveVersion() { assertThat(driver.getVersion(), is(JdbcI18n.driverVersion.text())); }