This commit is contained in:
Johnny Lim
2016-09-19 13:52:43 +09:00
committed by Phillip Webb
parent e239e64cb1
commit a994b11a73
4 changed files with 5 additions and 5 deletions

View File

@@ -61,10 +61,10 @@ public class SpringBootTestContextBootstrapperTests {
BootstrapContext bootstrapContext = mock(BootstrapContext.class);
bootstrapper.setBootstrapContext(bootstrapContext);
given((Class) bootstrapContext.getTestClass()).willReturn(testClass);
CacheAwareContextLoaderDelegate contextLoaderDeleagte = mock(
CacheAwareContextLoaderDelegate contextLoaderDelegate = mock(
CacheAwareContextLoaderDelegate.class);
given(bootstrapContext.getCacheAwareContextLoaderDelegate())
.willReturn(contextLoaderDeleagte);
.willReturn(contextLoaderDelegate);
bootstrapper.buildTestContext();
}