We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f02323 commit dedbbf0Copy full SHA for dedbbf0
spring-context/src/test/java/org/springframework/context/annotation/Gh29105Tests.java
@@ -30,7 +30,7 @@
30
*
31
* @author Stephane Nicoll
32
*/
33
-public class Gh29105Tests {
+class Gh29105Tests {
34
35
@Test
36
void beanProviderWithParentContextReuseOrder() {
@@ -47,6 +47,7 @@ void beanProviderWithParentContextReuseOrder() {
47
List<Class<?>> orderedTypes = child.getBeanProvider(MyService.class)
48
.orderedStream().map(Object::getClass).collect(Collectors.toList());
49
assertThat(orderedTypes).containsExactly(CustomService.class, DefaultService.class);
50
+ child.close();
51
}
52
53
@@ -78,4 +79,5 @@ DefaultService defaultService() {
78
79
80
81
82
+
83
0 commit comments