Skip to content

Commit

Permalink
Avoid warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Nov 8, 2022
1 parent 5f02323 commit dedbbf0
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -30,7 +30,7 @@
*
* @author Stephane Nicoll
*/
public class Gh29105Tests {
class Gh29105Tests {

@Test
void beanProviderWithParentContextReuseOrder() {
Expand All @@ -47,6 +47,7 @@ void beanProviderWithParentContextReuseOrder() {
List<Class<?>> orderedTypes = child.getBeanProvider(MyService.class)
.orderedStream().map(Object::getClass).collect(Collectors.toList());
assertThat(orderedTypes).containsExactly(CustomService.class, DefaultService.class);
child.close();
}


Expand Down Expand Up @@ -78,4 +79,5 @@ DefaultService defaultService() {
}

}

}

0 comments on commit dedbbf0

Please sign in to comment.