Java 类org.springframework.boot.autoconfigure.data.alt.cassandra.CityCassandraRepository 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:CassandraRepositoriesAutoConfigurationTests.java   
@Test
public void doesNotTriggerDefaultRepositoryDetectionIfCustomized() {
    addConfigurations(TestExcludeConfiguration.class, CustomizedConfiguration.class);
    assertThat(this.context.getBean(CityCassandraRepository.class)).isNotNull();
    assertThat(getInitialEntitySet()).hasSize(1).containsOnly(City.class);
}
项目:spring-boot-concourse    文件:CassandraRepositoriesAutoConfigurationTests.java   
@Test
public void doesNotTriggerDefaultRepositoryDetectionIfCustomized() {
    addConfigurations(TestExcludeConfiguration.class, CustomizedConfiguration.class);
    assertThat(this.context.getBean(CityCassandraRepository.class)).isNotNull();
}
项目:contestparser    文件:CassandraRepositoriesAutoConfigurationTests.java   
@Test
public void doesNotTriggerDefaultRepositoryDetectionIfCustomized() {
    addConfigurations(TestExcludeConfiguration.class, CustomizedConfiguration.class);
    assertNotNull(this.context.getBean(CityCassandraRepository.class));
}