August 10, 2010
Support for mocking in F# has been added (a new sample F# solution has also been included in the installation).
Mock.Assert should throw proper exception when used with partial members and MustBeCalled.
Should be able to set / get property as if in a real object for loose mocks.
var foo = Mock.Create<IFoo>();
foo.Name = "Spike";
Should be able to assert calls with mocked parameters.
FooResult result = Mock.Create<FooResult>();
var data = Mock.Create<IDataAccess>();
data.ProcessFilterResult(result, "a", "b");
Mock.Assert(() => data.ProcessFilterResult(result, "a", "b"), Occurs.Once());
Moved ReturnsCollection to Telerik.JustMock.Helpers.
The “ReturnsCollection” method does a number of tasks on behalf of the developer and is not required for all cases except for IQueryable / IEnumerable implementations. That's why we decided to make it an extension method and move it to a separate namespace.
public class KiggContainer
public KiggContainer(string connection)
public void Do()
Should automatically intercept final methods from base.
public void ShouldConsiderFinalMethodsFromBase()
var foo = Mock.Create<FooBaseImplement>();
public class FooBase
public void Echo()
throw new Exception();
public class FooBaseImplement : FooBase
Should be able to use JustMock.dll without the Telerik.CodeWeaver.Hook.dll when mocking only virtual members.
Fixed an internal type load exception for mocking certain large objects.
Fixed invalid dynamic assembly generation for certain cases.
Added missing signature in Mock.Partial to mock mscorlib members from System.Enviroment.
Post your feedback via the JustMock Feedback portal or the Public forums
See all updates
With dedicated technical support.
Purchase individual products or any of the bundles
Help us shape our roadmap.