add integration test profile

This commit is contained in:
DOHA
2016-10-20 21:53:32 +02:00
parent ab5af65705
commit cdbd83e851
7 changed files with 73 additions and 55 deletions

View File

@@ -0,0 +1,22 @@
package com.baeldung.circulardependency;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
public class CircularDependencyB {
private CircularDependencyA circA;
private String message = "Hi!";
@Autowired
public void setCircA(final CircularDependencyA circA) {
this.circA = circA;
}
public String getMessage() {
return message;
}
}