### Question:
FederatedRepositoryConnection implements RepositoryConnection { public XAResource getXAResource() { return null; } FederatedRepositoryConnection( FederatedRepository repository,
                                   Observer observer ); CachePolicy getDefaultCachePolicy(); String getSourceName(); XAResource getXAResource(); boolean ping( long time,
                         TimeUnit unit ); void execute( ExecutionContext context,
                         final Request request ); void close();  }### Answer:
@Test public void shouldHaveNoXaResource() { assertThat(connection.getXAResource(), is(nullValue())); }