Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Although using container in unit test is categorized as an anti-pattern (http://picocontainer.codehaus.orgcom/tests-use-container-antipattern.html), it is interesting to use pico to bootstrap your test.

The anti-pattern seems to blame when you use a real container with real dependencies for a unit tests. But I think it's acceptable when

...