RhinoMocks – WhenCalled

The following test would fail without this   .WhenCalled(invocation => invocation.ReturnValue = new TestResult(){IsTrue = true, Message = “BBB”})     using System; using System.Collections.Generic; using System.Linq; using System.Text; using Matlock.Core.Shared; using Microsoft.VisualStudio.TestTools.UnitTesting; using Rhino.Mocks; […]