Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Reset SeamAutowire before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Nov 14, 2013
1 parent bff0b12 commit 7b2c770
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -64,6 +64,7 @@ public void setUp() throws Exception {
MockitoAnnotations.initMocks(this);
// @formatter:off
handler = SeamAutowire.instance()
.reset()
.use("identity", identity)
.use("projectIterationDAO", projectIterationDAO)
.use("projectDAO", projectDAO)
Expand Down
Expand Up @@ -60,6 +60,7 @@ public void setUp() throws Exception {
.autowire(TransUnitTransformer.class);

handler = SeamAutowire.instance()
.reset()
.use("identity", identity)
.use("textFlowTargetDAO", textFlowTargetDAO)
.use("transUnitTransformer", transUnitTransformer)
Expand Down

0 comments on commit 7b2c770

Please sign in to comment.