hwellmann / jeeunit

Automatically exported from code.google.com/p/jeeunit
Other
0 stars 1 forks source link

Mocking.... #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Jeeunit looks good - especially that it allows to test in the embedded 
container....

I am planning to use it but would like to clarify the following:

Can I still mock some services/beans? In a layered architecture, I might still 
want to mock some depedencies while injecting...

Say in a dev environment, while unit testing, I want to supply a mocked out 
version of bean (Stateess EJB for example) - as in your example for 
SpringFactory.

Original issue reported on code.google.com by santosh...@gmail.com on 13 Sep 2012 at 8:28