Telerik® JustMock™ by Progress

Auto-mocking container that can automatically inject mocks for all dependencies of the tested class. The container is based on NInject and supports the core NInject syntax as well as syntax extensions for arranging mocks and injecting mocks into properties and constructor arguments.

Namespace: Telerik.JustMock.AutoMock
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)

Syntax

C#
public sealed class MockingContainer<T> : StandardKernel
where T : class
Visual Basic
Public NotInheritable Class MockingContainer(Of T As Class) _
	Inherits StandardKernel

Type Parameters

T
The type of the class whose dependencies should be mocked. If this is an abstract class, then a Behavior.CallOriginal mock is created for the instance. Abstract members of the instance can be manipulated using the methods in the Mock class.

Inheritance Hierarchy

System..::..Object
  DisposableObject
    BindingRoot
      KernelBase
        StandardKernel
          Telerik.JustMock.AutoMock..::..MockingContainer<(Of <(<'T>)>)>

See Also