Skip to content

Commit

Permalink
Move TestBeanFactory to example package
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Jun 12, 2024
1 parent 3f2d9c3 commit 1d0af7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 1d0af7e

Please sign in to comment.