### Question:
JcrRepository implements Repository { public Map<Option, String> getOptions() { return options; } @SuppressWarnings( "deprecation" )  JcrRepository( ExecutionContext executionContext,
                   RepositoryConnectionFactory connectionFactory,
                   String repositorySourceName,
                   Observable repositoryObservable,
                   RepositorySourceCapabilities repositorySourceCapabilities,
                   Map<String, String> descriptors,
                   Map<Option, String> options,
                   String initialContentForNewWorkspaces ); Map<Option, String> getOptions(); String getDescriptor( String key ); JcrValue getDescriptorValue( String key ); JcrValue[] getDescriptorValues( String key ); boolean isSingleValueDescriptor( String key ); boolean isStandardDescriptor( String key ); String[] getDescriptorKeys(); synchronized Session login(); synchronized Session login( Credentials credentials ); synchronized Session login( String workspaceName ); synchronized Session login( Credentials credentials,
                                       String workspaceName ); Metrics getMetrics();  }### Answer:
@Test public void shouldHaveDefaultOptionsWhenNotOverridden() throws Exception { JcrRepository repository = new JcrRepository(context, connectionFactory, sourceName, new MockObservable(), null, descriptors, null, null); assertThat(repository.getOptions().get(JcrRepository.Option.PROJECT_NODE_TYPES), is(JcrRepository.DefaultOption.PROJECT_NODE_TYPES)); }