<?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: BDDMockito &amp; Eclipse</title>
	<atom:link href="http://www.rapaul.com/2009/08/09/bddmockito-eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rapaul.com/2009/08/09/bddmockito-eclipse/</link>
	<description>A technical blog written by Richard Paul</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:12:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Guillaume</title>
		<link>http://www.rapaul.com/2009/08/09/bddmockito-eclipse/comment-page-1/#comment-4728</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Sat, 04 Jun 2011 10:26:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapaul.com/?p=299#comment-4728</guid>
		<description>great tip. Thanks !</description>
		<content:encoded><![CDATA[<p>great tip. Thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conan</title>
		<link>http://www.rapaul.com/2009/08/09/bddmockito-eclipse/comment-page-1/#comment-2767</link>
		<dc:creator>Conan</dc:creator>
		<pubDate>Mon, 10 Jan 2011 12:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapaul.com/?p=299#comment-2767</guid>
		<description>@${testType:newType(org.junit.Test)}

public void ${shouldDOX}() throws Exception {
  // given ${cursor}
  ${staticImport:importStatic(&#039;org.junit.Assert.*&#039;, &#039;org.mockito.BDDMockito.*&#039;,&#039;org.hamcrest.Matchers.*&#039;)}
  given(myService.dox()).willReturn(&quot;expected&quot;);

  // when
	String actual = myService.dox();

  // then
	assertThat(actual, equalTo(&quot;expected&quot;));  
}</description>
		<content:encoded><![CDATA[<p>@${testType:newType(org.junit.Test)}</p>
<p>public void ${shouldDOX}() throws Exception {<br />
  // given ${cursor}<br />
  ${staticImport:importStatic(&#8216;org.junit.Assert.*&#8217;, &#8216;org.mockito.BDDMockito.*&#8217;,'org.hamcrest.Matchers.*&#8217;)}<br />
  given(myService.dox()).willReturn(&#8220;expected&#8221;);</p>
<p>  // when<br />
	String actual = myService.dox();</p>
<p>  // then<br />
	assertThat(actual, equalTo(&#8220;expected&#8221;));<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: //given //when //then forever &#171; monkey island</title>
		<link>http://www.rapaul.com/2009/08/09/bddmockito-eclipse/comment-page-1/#comment-1181</link>
		<dc:creator>//given //when //then forever &#171; monkey island</dc:creator>
		<pubDate>Mon, 26 Jul 2010 10:47:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapaul.com/?p=299#comment-1181</guid>
		<description>[...] I&#8217;ve been selling //given //when //then quite relentlessly. I even try to sell it via Mockito api. (The link also shows how to install the template in Eclipse so don&#8217;t miss [...]</description>
		<content:encoded><![CDATA[<p>[...] I&#8217;ve been selling //given //when //then quite relentlessly. I even try to sell it via Mockito api. (The link also shows how to install the template in Eclipse so don&#8217;t miss [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Paul</title>
		<link>http://www.rapaul.com/2009/08/09/bddmockito-eclipse/comment-page-1/#comment-543</link>
		<dc:creator>Richard Paul</dc:creator>
		<pubDate>Tue, 29 Dec 2009 13:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapaul.com/?p=299#comment-543</guid>
		<description>I&#039;ve now aliased the Test template to &#039;should&#039; as I generally name my examples as shouldDoSomething.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve now aliased the Test template to &#8217;should&#8217; as I generally name my examples as shouldDoSomething.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.rapaul.com/2009/08/09/bddmockito-eclipse/comment-page-1/#comment-152</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 08 Sep 2009 11:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapaul.com/?p=299#comment-152</guid>
		<description>Thanks! Nice stuff</description>
		<content:encoded><![CDATA[<p>Thanks! Nice stuff</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Paul</title>
		<link>http://www.rapaul.com/2009/08/09/bddmockito-eclipse/comment-page-1/#comment-136</link>
		<dc:creator>Richard Paul</dc:creator>
		<pubDate>Tue, 18 Aug 2009 15:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapaul.com/?p=299#comment-136</guid>
		<description>After using this style for a few of day I&#039;ve updated the eclipse template slightly.  The position of the cursor should be on the same line as the given text.

This allows you to write the description of the context.

e.g.

// given a user with first name John and last name Smith
...

// when we get their full name
...

// then John Smith should be returned
...</description>
		<content:encoded><![CDATA[<p>After using this style for a few of day I&#8217;ve updated the eclipse template slightly.  The position of the cursor should be on the same line as the given text.</p>
<p>This allows you to write the description of the context.</p>
<p>e.g.</p>
<p>// given a user with first name John and last name Smith<br />
&#8230;</p>
<p>// when we get their full name<br />
&#8230;</p>
<p>// then John Smith should be returned<br />
&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

