<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Junit friends DBUnit and Spring test framework :-)</title>
	<atom:link href="http://www.ramraje.com/java-frameworks/spring-framework/junit-friends-dbunit-and-spring-test-framework/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ramraje.com/java-frameworks/spring-framework/junit-friends-dbunit-and-spring-test-framework/</link>
	<description>Software Programming Blog</description>
	<lastBuildDate>Thu, 10 Nov 2011 15:55:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Murali</title>
		<link>http://www.ramraje.com/java-frameworks/spring-framework/junit-friends-dbunit-and-spring-test-framework/comment-page-1/#comment-261</link>
		<dc:creator>Murali</dc:creator>
		<pubDate>Fri, 21 May 2010 13:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ramraje.com/2008/08/junit-friends-dbunit-and-spring-test-framework/#comment-261</guid>
		<description>Issue: 
I have to write a test case for old code (TDD is not followed while developing) So for enhancement when i tried to write a test case that class is invoking a Final class method which is talking to data base.

So i have to mock the final class call. 
But throuch jMock we can&#039;t do that.

Or can we do mocking for final class? or is there any way to mock the final class invogation?

Please let me know.</description>
		<content:encoded><![CDATA[<p>Issue:<br />
I have to write a test case for old code (TDD is not followed while developing) So for enhancement when i tried to write a test case that class is invoking a Final class method which is talking to data base.</p>
<p>So i have to mock the final class call.<br />
But throuch jMock we can&#8217;t do that.</p>
<p>Or can we do mocking for final class? or is there any way to mock the final class invogation?</p>
<p>Please let me know.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

