Interesting. I admit I haven't ever used Spring to create mocks. I prefer to have them directly in tests code so looking by the code alone I can see what is being mocked.
I have used tests with the test xml definition of the context mainly when I was writing test for Spring Integration projects, where much bounding of invocation is defined in the xml files.
2 comments:
Interesting. I admit I haven't ever used Spring to create mocks. I prefer to have them directly in tests code so looking by the code alone I can see what is being mocked.
I have used tests with the test xml definition of the context mainly when I was writing test for Spring Integration projects, where much bounding of invocation is defined in the xml files.
Post a Comment