|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2017 the original author or authors. |
|
|
|
* Copyright 2002-2019 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
@ -27,8 +27,9 @@ import org.springframework.context.support.registerBean |
|
|
|
* @author Sebastien Deleuze |
|
|
|
* @author Sebastien Deleuze |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
class AnnotationConfigApplicationContextExtensionsTests { |
|
|
|
class AnnotationConfigApplicationContextExtensionsTests { |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
|
|
|
|
@Suppress("DEPRECATION") |
|
|
|
fun `Instantiate AnnotationConfigApplicationContext`() { |
|
|
|
fun `Instantiate AnnotationConfigApplicationContext`() { |
|
|
|
val applicationContext = AnnotationConfigApplicationContext { |
|
|
|
val applicationContext = AnnotationConfigApplicationContext { |
|
|
|
registerBean<Foo>() |
|
|
|
registerBean<Foo>() |
|
|
|