@FixFor( "MODE-1988" )
@Test
public void shouldNotEnableDocumentOptimizationByDefault() {

    RepositoryConfiguration config = new RepositoryConfiguration("repoName");
    assertThat(config.getDocumentOptimization(), is(notNullValue()));
    assertThat(config.getDocumentOptimization().isEnabled(), is(false));
}