Polishing

This commit is contained in:
Sam Brannen
2023-09-05 14:52:22 +02:00
parent 552e7fb1d5
commit 0a7166234d
5 changed files with 15 additions and 21 deletions

View File

@@ -144,8 +144,8 @@ class BootstrapUtilsTests {
private void assertBootstrapper(Class<?> testClass, Class<?> expectedBootstrapper) {
BootstrapContext bootstrapContext = BootstrapTestUtils.buildBootstrapContext(testClass, delegate);
TestContextBootstrapper bootstrapper = resolveTestContextBootstrapper(bootstrapContext);
assertThat(bootstrapper).isNotNull();
assertThat(bootstrapper.getClass()).isEqualTo(expectedBootstrapper);
assertThat(bootstrapper).isExactlyInstanceOf(expectedBootstrapper);
}
// -------------------------------------------------------------------