### Question:
SvnRepositorySource extends AbstractRepositorySource implements ObjectFactory { public RepositorySourceCapabilities getCapabilities() { return capabilities; } SvnRepositorySource(); RepositorySourceCapabilities getCapabilities(); String getRepositoryRootUrl(); synchronized void setRepositoryRootUrl( String url ); String getUsername(); synchronized void setUsername( String username ); String getPassword(); synchronized void setPassword( String password ); @Description( i18n = SvnRepositoryConnectorI18n.class, value = "updatesAllowedPropertyDescription" ) @Label( i18n = SvnRepositoryConnectorI18n.class, value = "updatesAllowedPropertyLabel" ) @Category( i18n = SvnRepositoryConnectorI18n.class, value = "updatesAllowedPropertyCategory" ) @ReadOnly boolean getSupportsUpdates(); String getDefaultWorkspaceName(); synchronized void setDefaultWorkspaceName( String pathToDirectoryForDefaultWorkspace ); synchronized String[] getPredefinedWorkspaceNames(); synchronized void setPredefinedWorkspaceNames( String[] predefinedWorkspaceNames ); @Description( i18n = SvnRepositoryConnectorI18n.class, value = "creatingWorkspacesAllowedPropertyDescription" ) @Label( i18n = SvnRepositoryConnectorI18n.class, value = "creatingWorkspacesAllowedPropertyLabel" ) @Category( i18n = SvnRepositoryConnectorI18n.class, value = "creatingWorkspacesAllowedPropertyCategory" ) boolean isCreatingWorkspacesAllowed(); synchronized void setCreatingWorkspacesAllowed( boolean allowWorkspaceCreation ); @Description( i18n = SvnRepositoryConnectorI18n.class, value = "updatesAllowedPropertyDescription" ) @Label( i18n = SvnRepositoryConnectorI18n.class, value = "updatesAllowedPropertyLabel" ) @Category( i18n = SvnRepositoryConnectorI18n.class, value = "updatesAllowedPropertyCategory" ) @Override boolean areUpdatesAllowed(); synchronized void setUpdatesAllowed( boolean allowUpdates ); @Override boolean equals( Object obj ); @Override int hashCode(); synchronized Reference getReference(); Object getObjectInstance( Object obj,
                                     Name name,
                                     Context nameCtx,
                                     Hashtable<?, ?> environment ); synchronized RepositoryConnection getConnection(); static final boolean DEFAULT_SUPPORTS_UPDATES; static final String DEFAULT_WORKSPACE_NAME; }### Answer:
@Test public void shouldReturnNonNullCapabilities() { assertThat(source.getCapabilities(), is(notNullValue())); }
@Test public void shouldNotSupportSameNameSiblings() { assertThat(source.getCapabilities().supportsSameNameSiblings(), is(false)); }
@Test public void shouldSupportUpdates() { assertThat(source.getCapabilities().supportsUpdates(), is(false)); }