### Question:
FederatedRepositorySource implements RepositorySource, ObjectFactory { public RepositorySourceCapabilities getCapabilities() { return capabilities; } FederatedRepositorySource(); String getName(); synchronized void setName( String name ); int getRetryLimit(); synchronized void setRetryLimit( int limit ); RepositorySourceCapabilities getCapabilities(); synchronized void initialize( RepositoryContext context ); RepositoryConnection getConnection(); void close(); Reference getReference(); Object getObjectInstance( Object obj,
                                     Name name,
                                     Context nameCtx,
                                     Hashtable<?, ?> environment ); @Override int hashCode(); @Override boolean equals( Object obj ); synchronized FederatedWorkspace addWorkspace( String workspaceName,
                                                         Iterable<Projection> projections,
                                                         boolean isDefault ); synchronized boolean removeWorkspace( String workspaceName ); synchronized boolean hasWorkspace( String workspaceName ); static final int DEFAULT_RETRY_LIMIT; }### Answer:
@Test public void shouldReturnNonNullCapabilities() { assertThat(source.getCapabilities(), is(notNullValue())); }
@Test public void shouldSupportSameNameSiblings() { assertThat(source.getCapabilities().supportsSameNameSiblings(), is(true)); }
@Test public void shouldSupportUpdates() { assertThat(source.getCapabilities().supportsUpdates(), is(true)); }