
|
If you were logged in you would be able to see more operations.
|
|
|
AppFuse
Created: 20/Aug/07 05:21 AM
Updated: 11/Sep/07 12:42 PM
|
|
| Component/s: |
Service Layer
|
| Affects Version/s: |
2.0-M5
|
| Fix Version/s: |
2.0-RC1
|
|
|
Tried to make a service layer test using BaseManagerTestCase as I did not want to mock my DAO. Couldn't use BaseManagerMockTestCase since it doesn't expose applicationContext (to use getBean()) nor does it autowire via setters. When I run my test, Spring complains that it can't find the manager I defined in applicationContext.xml as BaseManagerTestCase doesn't load said XML file.
|
|
Description
|
Tried to make a service layer test using BaseManagerTestCase as I did not want to mock my DAO. Couldn't use BaseManagerMockTestCase since it doesn't expose applicationContext (to use getBean()) nor does it autowire via setters. When I run my test, Spring complains that it can't find the manager I defined in applicationContext.xml as BaseManagerTestCase doesn't load said XML file. |
Show » |
|