// Path: annotation/src/main/java/me/chanjar/annotation/testconfig/Foo.java
// public class Foo {
// 
//   private final String name;
// 
//   public Foo(String name) {
//     this.name = name;
//   }
// 
//   public String getName() {
//     return name;
//   }
// }


import me.chanjar.annotation.testconfig.Foo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
import org.testng.annotations.Test;
import static org.testng.Assert.assertEquals;
package me.chanjar.annotation.testconfig.ex2;



@SpringBootTest(classes = { Config.class, TestConfig.class })
public class TestConfigurationTest extends AbstractTestNGSpringContextTests {

  @Qualifier("foo")
  @Autowired
// Path: annotation/src/main/java/me/chanjar/annotation/testconfig/Foo.java
// public class Foo {
// 
//   private final String name;
// 
//   public Foo(String name) {
//     this.name = name;
//   }
// 
//   public String getName() {
//     return name;
//   }
// }


// Path: annotation/src/test/java/me/chanjar/annotation/testconfig/ex2/TestConfigurationTest.java
import me.chanjar.annotation.testconfig.Foo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.testng.AbstractTestNGSpringContextTests;
import org.testng.annotations.Test;
import static org.testng.Assert.assertEquals;

package me.chanjar.annotation.testconfig.ex2;



@SpringBootTest(classes = { Config.class, TestConfig.class })
public class TestConfigurationTest extends AbstractTestNGSpringContextTests {

  @Qualifier("foo")
  @Autowired
  private Foo foo;