### Question:
JackrabbitRepositorySource extends JcrRepositorySource { @Override public synchronized Reference getReference() { throw new RuntimeException("Method getReference not yet implemented"); }  @Override synchronized Reference getReference(); @Override void initialize( RepositoryContext context ); @Override RepositoryConnection getConnection(); @Override RepositorySourceCapabilities getCapabilities(); String getUrl(); void setUrl( String url );  }### Answer:
@Test( expected = RuntimeException.class ) public void shoulThrowAnExceptionWhenGetReferenceIsCalled() throws Exception { repositorySource.getReference(); }