<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/c-sharp/tags/mock</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 20 May 2013 00:52:43 GMT</pubDate>
<item>
<title>(C#) How to mock an inline table valued function in LINQ to SQL - kirstencris</title>
<link>http://snipplr.com/view/70662/how-to-mock-an-inline-table-valued-function-in-linq-to-sql/</link>
<description><![CDATA[ <p>This example is for an  inline table value function with one string parameter
t1 is of type YourDataContext and t2 is of type string(hence the name of the mole method)</p> ]]></description>
<pubDate>Fri, 05 Apr 2013 00:14:45 GMT</pubDate>
<guid>http://snipplr.com/view/70662/how-to-mock-an-inline-table-valued-function-in-linq-to-sql/</guid>
</item>
<item>
<title>(C#) Using Moq to Return a Mock Object from a Factory - rengber</title>
<link>http://snipplr.com/view/15489/using-moq-to-return-a-mock-object-from-a-factory/</link>
<description><![CDATA[ <p>Note that the interface member is mockVar.Object mockVar won't cast to your interface.</p> ]]></description>
<pubDate>Wed, 03 Jun 2009 18:08:00 GMT</pubDate>
<guid>http://snipplr.com/view/15489/using-moq-to-return-a-mock-object-from-a-factory/</guid>
</item>
<item>
<title>(C#) Using NMock to Create an IDataReader for Testing Data Access Methods - rengber</title>
<link>http://snipplr.com/view/9930/using-nmock-to-create-an-idatareader-for-testing-data-access-methods/</link>
<description><![CDATA[ <p>Shows how to mock the Object["CollectionItemName"] syntax.</p> ]]></description>
<pubDate>Wed, 19 Nov 2008 21:32:37 GMT</pubDate>
<guid>http://snipplr.com/view/9930/using-nmock-to-create-an-idatareader-for-testing-data-access-methods/</guid>
</item>
</channel>
</rss>