@Test
public void bootstrapsRepository() throws Exception {
Assume.assumeTrue(repository instanceof Advised);
SimpleSolrRepository simpleSolrRepository = (SimpleSolrRepository) ((Advised) repository).getTargetSource()
.getTarget();
SolrTemplate solrTemplate = (SolrTemplate) simpleSolrRepository.getSolrOperations();
solrTemplate.getSchemaCreationFeatures().contains(Feature.CREATE_MISSING_FIELDS);
Assert.assertThat(repository, is(notNullValue()));
}