Polish assertion

This commit is contained in:
Stéphane Nicoll
2024-07-22 17:17:22 +02:00
parent ccc0a54c1c
commit 92385418ae

View File

@@ -99,7 +99,7 @@ public class ImportSelectorTests {
String[] beanNames = context.getBeanFactory().getBeanDefinitionNames();
assertThat(beanNames).endsWith("importSelectorTests.FilteredConfig",
ImportedSelector2.class.getName(), "b");
assertThat(beanNames).doesNotContain(Object.class.getName());
assertThat(beanNames).doesNotContain("a", Object.class.getName(), "c");
}
@Test