Formatting
This commit is contained in:
parent
7676697c4c
commit
0e3b7fe17c
|
@ -1,23 +1,23 @@
|
|||
package com.baeldung.factorybean;
|
||||
|
||||
import static org.hamcrest.core.IsEqual.equalTo;
|
||||
import static org.junit.Assert.assertThat;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import static org.hamcrest.core.IsEqual.equalTo;
|
||||
import static org.junit.Assert.assertThat;
|
||||
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(classes = FactoryBeanAppConfig.class)
|
||||
public class FactoryBeanJavaConfigTest {
|
||||
|
||||
@Autowired
|
||||
private Tool tool;
|
||||
|
||||
@Resource(name = "&tool")
|
||||
private ToolFactory toolFactory;
|
||||
|
||||
|
|
Loading…
Reference in New Issue