Forum member
dhelper
3 posts
Posts by dhelper
-
System.NullReferenceException when running with isolator V7
I'm tried using 7.0.4but I think it would happen with the latest 7.0.5 as well.
30 Apr 2012 12:12 UTC
-
System.NullReferenceException when running with isolator V7
The test fails on a line that looks like this: [Test, Isolated] public void MyTest() { const string sessionId = "session-1"; Isolate.WhenCalled(() => OperationContext.Current.SessionId).WillReturn(sessionId); // <-- fail here The code fails before it even reach my class under test
30 Apr 2012 05:58 UTC
-
System.NullReferenceException when running with isolator V7
Test uses NUnit and Isolator V7. Pass when run using Resharper but fails with nCrunch System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> System.NullReferenceException : Object reference not set to an instance of an object. at Syste…
29 Apr 2012 16:15 UTC