Move TestBeanFactory to example package
This commit is contained in:
@@ -20,6 +20,7 @@ import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.test.context.bean.override.example.TestBeanFactory;
|
||||
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
@@ -14,15 +14,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.springframework.test.context.bean.override.convention;
|
||||
package org.springframework.test.context.bean.override.example;
|
||||
|
||||
/**
|
||||
* Shared {@link TestBean @TestBean} factory methods.
|
||||
* Interface that exposes a single method that is used by bean overriding
|
||||
* tests.
|
||||
*
|
||||
* @author Sam Brannen
|
||||
* @since 6.2
|
||||
*/
|
||||
interface TestBeanFactory {
|
||||
public interface TestBeanFactory {
|
||||
|
||||
static String createTestMessage() {
|
||||
return "test";
|
||||
Reference in New Issue
Block a user