tag:blogger.com,1999:blog-2403806367731336513.post2957284670137165185..comments2023-11-05T00:43:03.535-07:00Comments on notjust4java: Defining Mockito mock bean from Spring xml definitionSoftware Engeneerhttp://www.blogger.com/profile/01917888662668988719noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2403806367731336513.post-52262699561933269572012-11-17T13:31:33.304-08:002012-11-17T13:31:33.304-08:00I have used tests with the test xml definition of ...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.Software Engeneerhttps://www.blogger.com/profile/01917888662668988719noreply@blogger.comtag:blogger.com,1999:blog-2403806367731336513.post-28628517984672574272012-11-08T11:01:51.895-08:002012-11-08T11:01:51.895-08:00Interesting. I admit I haven't ever used Sprin...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.<br />Tomek Kaczanowskihttp://practicalunittesting.comnoreply@blogger.com