<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>TypeMock.NET Community</title>
	<link>http://www.typemock.com/community/</link>
	<description>Typemock, Unit Testing, plain Smart</description>
	<dc:language>en-US</dc:language>
	<managingEditor>register@typemock.com</managingEditor>
	<webMaster>register@typemock.com</webMaster>
	<lastBuildDate>Mon, 09 Nov 2009 01:50:37 GMT</lastBuildDate>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/TypeMock_Community_All" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
	<dc:creator>ohad</dc:creator>
	<title>RE: Isolator Tracer empty</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/nMjKg_f-SqM/viewtopic.php</link>
	<category>TypeMock Unit Testing with Isolator (Previously called TypeMock)</category>
	<description>&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;

&lt;br /&gt;
Thanks for the info.
&lt;br /&gt;
Can it be that the TestDriven process is running with different security privileges than the tracer?
&lt;br /&gt;_________________&lt;br /&gt;Regards
&lt;br /&gt;

&lt;br /&gt;
Ohad,
&lt;br /&gt;
TypeMock Support Group&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6191#6191" target="_blank"&gt;Topic Replies: 5&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/nMjKg_f-SqM" height="1" width="1"/&gt;</description>
<pubDate>Sun, 08 Nov 2009 15:47:41 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6191#6191</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6191#6191</feedburner:origLink></item>
<item>
	<dc:creator>Elisha</dc:creator>
	<title>RE: Failed to mock Unity 1.2 Resolve calls with 5.3.5</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/_6hN0SeUYY0/viewtopic.php</link>
	<category>TypeMock Bugs</category>
	<description>&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;

&lt;br /&gt;
We plan to fix this bug in the near future, I can't give yet exact time but it's a high priority bug.
&lt;br /&gt;

&lt;br /&gt;
Are you using in the production code in the concrete UnityContainer or IUnityContainer? If you use the interface, it's possibly that the issue will be solved using fakes of IUnityContainer;
&lt;br /&gt;

&lt;br /&gt;
This bug is caused in specific cases where method is overloaded with generic overload, with different return types on which generic constraint defined.
&lt;br /&gt;

&lt;br /&gt;
Can you please post the code of ILoginService? I would like to reproduce it here and verify it's caused by the same reason.
&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Elisha
&lt;br /&gt;
Typemock Support
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6190#6190" target="_blank"&gt;Topic Replies: 3&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/_6hN0SeUYY0" height="1" width="1"/&gt;</description>
<pubDate>Sun, 08 Nov 2009 10:24:28 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6190#6190</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6190#6190</feedburner:origLink></item>
<item>
	<dc:creator>marchy</dc:creator>
	<title>RE: Failed to mock Unity 1.2 Resolve calls with 5.3.5</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/9iXhS8AUuJo/viewtopic.php</link>
	<category>TypeMock Bugs</category>
	<description>&lt;span class="postbody"&gt;Are there any updates to this problem yet?
&lt;br /&gt;
This is a critical deal-breaker for any applications that want to use Unity for Dependency Injection which is more and more commonplace.
&lt;br /&gt;

&lt;br /&gt;
Any applications that make service calls likely have local versions of the service classes that are used when running the application during development, and dependency injection is a really common pattern for solving this problem in a clean way.
&lt;br /&gt;

&lt;br /&gt;
Any comments on the plans for getting this working? Also if you could shed any light on the underlying issues it would be kindly appreciated. This so far prevents us from adopting TypeMock as a feasible mocking framework for our organization, which is sad because there are certainly a lot of upsides we were looking forward to.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
&lt;span style="font-weight: bold"&gt;Another variation that doesn't work:&lt;/span&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class="genmed"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class="code"&gt;ILoginService loginService = Isolate.Fake.Instance&amp;lt;ILoginService&amp;gt;&amp;#40;&amp;#41;;
&lt;br /&gt;
Container.RegisterInstance&amp;#40; loginService &amp;#41;;
&lt;br /&gt;
Isolate.WhenCalled&amp;#40; &amp;#40;&amp;#41; =&amp;gt; loginService.Authenticate&amp;#40; validCredentials &amp;#41;&amp;#41;.WillReturn&amp;#40; true &amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class="postbody"&gt;
&lt;br /&gt;
after resolving the mocked instance the matchers that were set up do not match:
&lt;br /&gt;
&lt;/span&gt;&lt;table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class="genmed"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class="code"&gt;ILoginService loginService = Container.Resolve&amp;lt;ILoginService&amp;gt;&amp;#40;&amp;#41;
&lt;br /&gt;
bool thisShouldReturnTrueButReturnsFalse = loginService.Authenticate&amp;#40; validCredentials &amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class="postbody"&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6189#6189" target="_blank"&gt;Topic Replies: 3&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/9iXhS8AUuJo" height="1" width="1"/&gt;</description>
<pubDate>Sat, 07 Nov 2009 23:13:24 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6189#6189</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6189#6189</feedburner:origLink></item>
<item>
	<dc:creator>Elisha</dc:creator>
	<title>RE: An exception when combining Typemock with PostSharp</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/CagU5ToaReI/viewtopic.php</link>
	<category>TypeMock Bugs</category>
	<description>&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;

&lt;br /&gt;
Thanks for the detailed report, we'll try to reproduce it here and investigate it.
&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Elisha
&lt;br /&gt;
Typemock Support
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6188#6188" target="_blank"&gt;Topic Replies: 1&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/CagU5ToaReI" height="1" width="1"/&gt;</description>
<pubDate>Sat, 07 Nov 2009 18:54:53 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6188#6188</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6188#6188</feedburner:origLink></item>
<item>
	<dc:creator>mod</dc:creator>
	<title>An exception when combining Typemock with PostSharp</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/V1jDS2J1Zi4/viewtopic.php</link>
	<category>TypeMock Bugs</category>
	<description>&lt;span class="postbody"&gt;hi
&lt;br /&gt;

&lt;br /&gt;
when i trying to apply TypeMock Isolator on code that uses PostSharp, it throws the following exception:
&lt;br /&gt;
&lt;/span&gt;&lt;table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class="genmed"&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class="quote"&gt;
&lt;br /&gt;
Test method PostSharpTypeMockTest.Test.ProgramTest.DoSomethingTest threw exception:  System.TypeInitializationException: The type initializer for '&amp;lt;&amp;gt;AspectsImplementationDetails_1'þ threw an exception. ---&amp;gt;  System.NullReferenceException: Object reference not set to an instance of an object..
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class="postbody"&gt;
&lt;br /&gt;
Stack Trace:
&lt;br /&gt;
&lt;/span&gt;&lt;table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class="genmed"&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class="quote"&gt;
&lt;br /&gt;
b2.a(Object A_0)
&lt;br /&gt;
ax.a(Object A_0)
&lt;br /&gt;
ax.a(String A_0, Object A_1)
&lt;br /&gt;
TypeMock.MockManager.a(String A_0, String A_1, Object A_2, Object A_3, Boolean A_4)
&lt;br /&gt;
TypeMock.InternalMockManager.isMocked(Object that, String typeName, String methodName, Object methodParameters, Boolean isInjected)
&lt;br /&gt;
AspectsImplementationDetails_1..cctor()
&lt;br /&gt;
PostSharpTypeMockTest.Program.DoSomething()
&lt;br /&gt;
PostSharpTypeMockTest.Test.ProgramTest.DoSomethingTest()
&lt;br /&gt;
TypeMock.MockManager.a(String A_0, String A_1, Object A_2, Object A_3, Boolean A_4, Object[] A_5)
&lt;br /&gt;
TypeMock.InternalMockManager.getReturn(Object that, String typeName, String methodName, Object methodParameters, Boolean isInjected)
&lt;br /&gt;
PostSharpTypeMockTest.Test.ProgramTest.DoSomethingTest()
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class="postbody"&gt;
&lt;br /&gt;
Used environment:
&lt;br /&gt;
Windows 7 RC x64
&lt;br /&gt;
Microsoft Visual Studio Team System 2008
&lt;br /&gt;
PostSharp 1.5.6.629 x64
&lt;br /&gt;
Typemock Isolator 5.43 x64
&lt;br /&gt;

&lt;br /&gt;
the same behavior also seen on the following environment:
&lt;br /&gt;
Windows XP SP3 x64
&lt;br /&gt;
Microsoft Visual Studio 2008 Developer Edition
&lt;br /&gt;
PostSharp 1.5.6.629 x86
&lt;br /&gt;
Typemock Isolator 5.43 x86
&lt;br /&gt;

&lt;br /&gt;
Sample C# Executable Code:
&lt;br /&gt;
&lt;/span&gt;&lt;table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class="genmed"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class="code"&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#91;Serializable&amp;#93;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public class TestAspect &amp;#58; OnMethodBoundaryAspect
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public class Program
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; static void Main&amp;#40;string&amp;#91;&amp;#93; args&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine&amp;#40;&amp;quot;Main&amp;quot;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DoSomething&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#91;TestAspect&amp;#93;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static void DoSomething&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine&amp;#40;&amp;quot;DoSomething&amp;quot;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Do2&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;

&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public static void Do2&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Console.WriteLine&amp;#40;&amp;quot;Do2&amp;quot;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class="postbody"&gt;
&lt;br /&gt;
Sample C# Test Code:
&lt;br /&gt;
&lt;/span&gt;&lt;table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class="genmed"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class="code"&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#91;TestMethod&amp;#40;&amp;#41;&amp;#93;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#91;Isolated&amp;#93;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void DoSomethingTest&amp;#40;&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Isolate.WhenCalled&amp;#40;&amp;#40;&amp;#41; =&amp;gt; Program.Do2&amp;#40;&amp;#41;&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .DoInstead&amp;#40;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; x =&amp;gt; System.Console.WriteLine&amp;#40;&amp;quot;Do2 Mocked&amp;quot;&amp;#41;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Program.DoSomething&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#125;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class="postbody"&gt;
&lt;br /&gt;

&lt;br /&gt;
when i removing the [TestAspect] attribute, the test passing.
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6187#6187" target="_blank"&gt;Topic Replies: 1&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/V1jDS2J1Zi4" height="1" width="1"/&gt;</description>
<pubDate>Sat, 07 Nov 2009 18:28:20 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6187#6187</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6187#6187</feedburner:origLink></item>
<item>
	<dc:creator>Elisha</dc:creator>
	<title>RE: How to mock XmlNode</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/1L9lRgnL0IU/viewtopic.php</link>
	<category>TypeMock Unit Testing with Isolator (Previously called TypeMock)</category>
	<description>&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;

&lt;br /&gt;
You can handle it using indexer faking:
&lt;br /&gt;

&lt;br /&gt;
&lt;/span&gt;&lt;table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class="genmed"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class="code"&gt;Isolate.WhenCalled&amp;#40;&amp;#40;&amp;#41; =&amp;gt; doc.ChildNodes&amp;#91;1&amp;#93;&amp;#41;.WillReturn&amp;#40;fakeElement&amp;#41;;&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class="postbody"&gt;
&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Elisha
&lt;br /&gt;
Typemock Support
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6185#6185" target="_blank"&gt;Topic Replies: 3&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/1L9lRgnL0IU" height="1" width="1"/&gt;</description>
<pubDate>Fri, 06 Nov 2009 17:11:10 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6185#6185</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6185#6185</feedburner:origLink></item>
<item>
	<dc:creator>mohit.vashishtha</dc:creator>
	<title>RE: How to mock XmlNode</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/U1GuzQvqpow/viewtopic.php</link>
	<category>TypeMock Unit Testing with Isolator (Previously called TypeMock)</category>
	<description>&lt;span class="postbody"&gt;Thanks for reply...
&lt;br /&gt;

&lt;br /&gt;
Actualy i am still stuggling with same issue. When i tried to create the mock object named as &amp;quot;root&amp;quot; from the XmlDocument then it is throwing object reference error. Befor the foeeach loop there is lines of code as:
&lt;br /&gt;
&lt;/span&gt;&lt;table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class="genmed"&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class="code"&gt;
&lt;br /&gt;
&amp;nbsp;Hashtable languageTable = new Hashtable&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string cultureName = currentInfo.Name;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XmlDocument doc = new XmlDocument&amp;#40;&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XmlTextReader myReader = new XmlTextReader&amp;#40;xmlUrl&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; myReader.XmlResolver = myResolver;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; doc.Load&amp;#40;myReader&amp;#41;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; XmlNode root = doc.ChildNodes&amp;#91;1&amp;#93;;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; foreach &amp;#40;XmlNode node in root.ChildNodes&amp;#41;&amp;nbsp; &amp;nbsp;\\\Here it breaks 
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;#123;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if &amp;#40;string.Compare&amp;#40;node.Name, &amp;quot;token&amp;quot;, true&amp;#41; != 0&amp;#41; continue;
&lt;br /&gt;
&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class="postbody"&gt;
&lt;br /&gt;
I am able to mock the &amp;quot;XmlDocument&amp;quot; and its load call. But when its trying to fetch the first child node, it returns me null object.
&lt;br /&gt;

&lt;br /&gt;
Please share some inputs that how can i mock the first element of the XML document as XMLNode(&amp;quot;root&amp;quot;).
&lt;br /&gt;

&lt;br /&gt;
Thanks
&lt;br /&gt;
Mohit
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6184#6184" target="_blank"&gt;Topic Replies: 3&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/U1GuzQvqpow" height="1" width="1"/&gt;</description>
<pubDate>Fri, 06 Nov 2009 15:58:31 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6184#6184</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6184#6184</feedburner:origLink></item>
<item>
	<dc:creator>ramnefors</dc:creator>
	<title>RE: Isolator 5.4.3 &amp;quot;productivity&amp;quot; puts VS in loop</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/8nDAKXZW76s/viewtopic.php</link>
	<category>TypeMock Installation, Configuration &amp; Updates</category>
	<description>&lt;span class="postbody"&gt;OK, that worked.
&lt;br /&gt;

&lt;br /&gt;
Thanks
&lt;br /&gt;

&lt;br /&gt;
Mats
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6182#6182" target="_blank"&gt;Topic Replies: 4&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/8nDAKXZW76s" height="1" width="1"/&gt;</description>
<pubDate>Fri, 06 Nov 2009 15:18:50 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6182#6182</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6182#6182</feedburner:origLink></item>
<item>
	<dc:creator>Elisha</dc:creator>
	<title>RE: Isolator 5.4.3 &amp;quot;productivity&amp;quot; puts VS in loop</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/lEX3t6fmWtU/viewtopic.php</link>
	<category>TypeMock Installation, Configuration &amp; Updates</category>
	<description>&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;

&lt;br /&gt;
As a workaround, search for the file &lt;span style="font-style: italic"&gt;TypeMock.Productivity.AddIn&lt;/span&gt; (It's located in VS addins directory) and rename to it &lt;span style="font-style: italic"&gt;TypeMock.Productivity.AddIn_&lt;/span&gt;. It will prevent Visual Studio from loading the addin.
&lt;br /&gt;

&lt;br /&gt;
Let me know if it helps.
&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Elisha
&lt;br /&gt;
Typemock Support
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6181#6181" target="_blank"&gt;Topic Replies: 4&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/lEX3t6fmWtU" height="1" width="1"/&gt;</description>
<pubDate>Fri, 06 Nov 2009 13:48:54 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6181#6181</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6181#6181</feedburner:origLink></item>
<item>
	<dc:creator>ramnefors</dc:creator>
	<title>RE: Isolator 5.4.3 &amp;quot;productivity&amp;quot; puts VS in loop</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/BoT6MfzVdfo/viewtopic.php</link>
	<category>TypeMock Installation, Configuration &amp; Updates</category>
	<description>&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;

&lt;br /&gt;
The problem is that the StartUp checkbox is greyed out so I can not uncheck it.
&lt;br /&gt;

&lt;br /&gt;
The isolator productivity checkbox (leftmost) I have already unchecked otherwise I would not be able to use VS at all.
&lt;br /&gt;

&lt;br /&gt;
But with the StartUp checkbox disabled I have to disable &amp;quot;productivity&amp;quot;  every time I start VS.
&lt;br /&gt;

&lt;br /&gt;
How can I uncheck StartUp?
&lt;br /&gt;

&lt;br /&gt;
Mats
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6180#6180" target="_blank"&gt;Topic Replies: 4&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/BoT6MfzVdfo" height="1" width="1"/&gt;</description>
<pubDate>Fri, 06 Nov 2009 12:59:33 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6180#6180</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6180#6180</feedburner:origLink></item>
<item>
	<dc:creator>Elisha</dc:creator>
	<title>RE: Two &amp;quot;Quickstart&amp;quot; entries in VS Help menu</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/CQM4tp3UP2w/viewtopic.php</link>
	<category>TypeMock Installation, Configuration &amp; Updates</category>
	<description>&lt;span class="postbody"&gt;Hi Mats,
&lt;br /&gt;

&lt;br /&gt;
It seems like a bug &lt;img src="http://www.typemock.com/community/images/smiles/icon_smile.gif" alt="Smile" border="0" /&gt; We're trying to reproduce it and fix it. Thanks for letting us know!
&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Elisha
&lt;br /&gt;
Typemock Support
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6179#6179" target="_blank"&gt;Topic Replies: 1&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/CQM4tp3UP2w" height="1" width="1"/&gt;</description>
<pubDate>Fri, 06 Nov 2009 12:28:57 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6179#6179</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6179#6179</feedburner:origLink></item>
<item>
	<dc:creator>Elisha</dc:creator>
	<title>RE: Isolator 5.4.3 &amp;quot;productivity&amp;quot; puts VS in loop</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/QjKODAimLBg/viewtopic.php</link>
	<category>TypeMock Installation, Configuration &amp; Updates</category>
	<description>&lt;span class="postbody"&gt;Hi Mats,
&lt;br /&gt;

&lt;br /&gt;
Thanks for reporting, we received similar report about IntelliTest and VB, it's a bug.
&lt;br /&gt;

&lt;br /&gt;
I recommend in this case to disable the productivity addin from starting with Visual Studio: Tools -&amp;gt; Add-ins manager -&amp;gt; uncheck Issolator Productivity checkbox and Startup checkbox. It will unload the productivity features but will let you use the all other new features of Isolator.
&lt;br /&gt;

&lt;br /&gt;
Please let me know if it helps.
&lt;br /&gt;

&lt;br /&gt;
Regards,
&lt;br /&gt;
Elisha
&lt;br /&gt;
Typemock Support
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6178#6178" target="_blank"&gt;Topic Replies: 4&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/QjKODAimLBg" height="1" width="1"/&gt;</description>
<pubDate>Fri, 06 Nov 2009 12:27:01 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6178#6178</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6178#6178</feedburner:origLink></item>
<item>
	<dc:creator>ramnefors</dc:creator>
	<title>Two &amp;quot;Quickstart&amp;quot; entries in VS Help menu</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/Syoh6pO5o0g/viewtopic.php</link>
	<category>TypeMock Installation, Configuration &amp; Updates</category>
	<description>&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;

&lt;br /&gt;
After upgrading to 5.4.3 I now have two entries for &amp;quot;Typemock isolator quickstart&amp;quot; in the help menu.
&lt;br /&gt;

&lt;br /&gt;
Mats
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6177#6177" target="_blank"&gt;Topic Replies: 1&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/Syoh6pO5o0g" height="1" width="1"/&gt;</description>
<pubDate>Fri, 06 Nov 2009 08:16:33 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6177#6177</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6177#6177</feedburner:origLink></item>
<item>
	<dc:creator>ramnefors</dc:creator>
	<title>Isolator 5.4.3 &amp;quot;productivity&amp;quot; puts VS in loop</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/qQdV4AcDEB8/viewtopic.php</link>
	<category>TypeMock Installation, Configuration &amp; Updates</category>
	<description>&lt;span class="postbody"&gt;Hi,
&lt;br /&gt;

&lt;br /&gt;
Yesterday I upgraded to 5.4.3. It seem that Typemock Productivity (TP) is making Visual Studio behave in a very unproductive way
&lt;br /&gt;

&lt;br /&gt;
If I try to type in a variable name at the start of a line (VB) after the first letter Typemock immediately adds &amp;quot;()&amp;quot; , giving for instance &amp;quot;a() or _p()&amp;quot;. if I try to backspace over it Typemock adds the paranthesis again so we are stuck in an infinite loop.
&lt;br /&gt;

&lt;br /&gt;
If I use AddIn Manager to switch off TP I can continue to type normally.
&lt;br /&gt;

&lt;br /&gt;
Unfortunately there seem to be no way of preventing TP to start in the first place so I have to use AddIn manager to disable TP everytime I start Visual Studio. I would urgently want a fix for this or I will have to downgrade to the previous version.
&lt;br /&gt;

&lt;br /&gt;
I am running VS2008 SP1 programming in VB with the test code in C#. This problem is in the VB code. 
&lt;br /&gt;

&lt;br /&gt;
Mats
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6176#6176" target="_blank"&gt;Topic Replies: 4&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/qQdV4AcDEB8" height="1" width="1"/&gt;</description>
<pubDate>Fri, 06 Nov 2009 08:02:38 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6176#6176</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6176#6176</feedburner:origLink></item>
<item>
	<dc:creator>halstein</dc:creator>
	<title>RE: IntelliTest breaks intellisense in Visual Basic 2008</title>
	<link>http://feedproxy.google.com/~r/TypeMock_Community_All/~3/ij-_8IlTvHM/viewtopic.php</link>
	<category>TypeMock Bugs</category>
	<description>&lt;span class="postbody"&gt;The workaround worked. Disabling TypeMock Productivity got the intellisense in Visual Studio working again for Visual Basic. Sadly, 5.4.3 still &lt;a href="http://www.typemock.com/community/viewtopic.php?t=1463" target="_blank" class="postlink"&gt;doesn´t work with Gallio on x64 Windows&lt;/a&gt;, so it is back to 5.3.1 anyway.
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.typemock.com/community/viewtopic.php?p=6175#6175" target="_blank"&gt;Topic Replies: 3&lt;/a&gt;
&lt;br /&gt;&lt;br /&gt;&lt;img src="http://feeds.feedburner.com/~r/TypeMock_Community_All/~4/ij-_8IlTvHM" height="1" width="1"/&gt;</description>
<pubDate>Thu, 05 Nov 2009 22:38:39 GMT</pubDate>
<guid isPermaLink="false">http://www.typemock.com/community/viewtopic.php?p=6175#6175</guid>
<feedburner:origLink>http://www.typemock.com/community/viewtopic.php?p=6175#6175</feedburner:origLink></item>
</channel>
</rss>
