sync toc
Welcome
Typemock Isolator Overview
Installing Typemock Isolator
Installation
Typemock Isolator Editions
Configuring the Auto Updater
Auto Deploying Typemock Isolator
Security
Running Typemock Isolator
Package Licensing API
Running Typemock Isolator
Code Coverage with Typemock Isolator
TMockRunner Usage
MSBuild Tasks
NAnt Tasks
Integrating with Team Foundation Server
64 bit machines
Typemock Isolator Integration API
Using Typemock Isolator
Natural Mocks™
The First Natural Typemock™
Using Mock Attributes
Returning Values
Throwing Exceptions
Chaining Statements
Repeating Expectations
Checking Sent Arguments
Checking Arguments
Built in Checks
Conditional Expectations
Understanding Instances and Constructors
Mocking Live Instance
Mocking Interfaces and Abstract classes
Mocking Future Objects
All About Constructors
Advanced Issues
Properties and Indexed
Mocking and Firing Events
Arbitrary Calls
Mocking Private Methods
Unmocked Expectations
Basic Handling of Ref and Out Parameters
Advanced Stubs
Combining Natural Mocks™ and Reflective Mocks
Retrieving Mocks from the Framework
Mocking Fields
Reflective Typemock
The First Mock
The First Mock (using generic helper)
Using Mock Attributes
Returning Values
Throwing Exceptions
Checking Sent Arguments
Checking Arguments
Built in Checks
Understanding Instances and Constructors
Understanding Instance Mocking
Mocking Interfaces and Abstract classes
Mocking Constructors
Advanced Issues
Properties and Indexes
Mocking and Firing Events
Hidden Methods
Arbitrary Calls
Unmocked Expectations
Generics - .NET 2.0
Anonymous Methods - .NET 2.0
Call Counters
Call Events
Mocking and assigning Fields
Building a Mock Infrastructure
Building a Mock Infrastructure
Conditional Expectations
Advanced Stubs
Retrieving Mocks from the Framework
Asynchronic Code
Testing Asynchronic Code
Postponing Argument Validation
Advanced Argument Checking
Custom Argument Checking
Dynamic Return Values
Handling ref and out Parameters
Swapping Arguments
Controling Fields
Controling the State of Tested Objects
Asserting Fields of Future Instances
Mocking .NET 3.5
Mocking .NET 3.5
Other Issues
Extending Test Frameworks
Tracing Type Mocks
Typemock Isolator Tracer
Debugging with Typemock Isolator
Method evaluation in the IDE
Identifying mocked methods while debugging
Known Issues
Summary
Release Notes
Release Notes Version 4.3
Release Notes Version 4.2
Release Notes Version 4.1
Release Notes Version 4.0
Release Notes Version 3.7
Release Notes Version 3.6
Release Notes Version 3.5
Release Notes Version 3.1
Release Notes Version 3.0
Release Notes Version 2.3
Release Notes version 2.2
API Reference
TypeMock
Assign Class
Assign Members
Assign Constructor
Methods
AndCheck Method
CannotEvaluateWhileRecordingException Class
CannotEvaluateWhileRecordingException Members
CannotEvaluateWhileRecordingException Constructor
CannotEvaluateWhileRecordingException Constructor ()
CannotEvaluateWhileRecordingException Constructor (SerializationInfo, StreamingContext)
Check Class
Check Members
Methods
And Method
And Method (Object, Object)
And Method (Object, Object, String)
And Method (Object, Object, String, Object[])
CustomChecker Method
CustomChecker Method (ParameterCheckerEx, Object)
CustomChecker Method (ParameterCheckerEx, Object, String)
CustomChecker Method (ParameterCheckerEx, Object, String, Object[])
EndsWith Method
EndsWith Method (String)
EndsWith Method (String, String)
EndsWith Method (String, String, Object[])
IsAny Method
IsCloseTo Method
IsCloseTo Method (Double, Double)
IsCloseTo Method (Double, Double, String)
IsCloseTo Method (Double, Double, String, Object[])
IsEqual Method
IsEqual Method (Object)
IsEqual Method (Object, String)
IsEqual Method (Object, String, Object[])
IsEqualIgnoreCase Method
IsEqualIgnoreCase Method (String)
IsEqualIgnoreCase Method (String, String)
IsEqualIgnoreCase Method (String, String, Object[])
IsEqualIgnoreWhiteSpace Method
IsEqualIgnoreWhiteSpace Method (String)
IsEqualIgnoreWhiteSpace Method (String, String)
IsEqualIgnoreWhiteSpace Method (String, String, Object[])
IsIn Method
IsMatch Method
IsMatch Method (Regex)
IsMatch Method (Regex, String)
IsMatch Method (Regex, String, Object[])
IsMock Method
IsMock Method (Mock)
IsMock Method (Mock, String)
IsMock Method (Mock, String, Object[])
IsNull Method
IsNull Method ()
IsNull Method (String)
IsNull Method (String, Object[])
IsSame Method
IsSame Method (Object)
IsSame Method (Object, String)
IsSame Method (Object, String, Object[])
IsTypeOf Method
IsTypeOf Method (Type)
IsTypeOf Method (Type, String)
IsTypeOf Method (Type, String, Object[])
Not Method
Not Method (Object)
Not Method (Object, String)
Not Method (Object, String, Object[])
NotEqual Method
NotEqual Method (Object)
NotEqual Method (Object, String)
NotEqual Method (Object, String, Object[])
NotIn Method
NotNull Method
NotNull Method ()
NotNull Method (String)
NotNull Method (String, Object[])
Or Method
Or Method (Object, Object)
Or Method (Object, Object, String)
Or Method (Object, Object, String, Object[])
StartsWith Method
StartsWith Method (String)
StartsWith Method (String, String)
StartsWith Method (String, String, Object[])
ClearMocksAttribute Class
ClearMocksAttribute Members
ClearMocksAttribute Constructor
Methods
Execute Method
Constructor Enumeration
DecoratorAttribute Class
DecoratorAttribute Members
DecoratorAttribute Constructor
Properties
OriginalContext Property
OriginalMethod Property
OriginalParams Property
Methods
CallDecoratedMethod Method
DecorateMethodWhenAttributeIsClass Method
DontCallDecoratedMethod Method
Execute Method
DefaultRecordBehavior Class
DefaultRecordBehavior Members
Properties
AutomaticFieldMocking Property
Strict Property
Methods
CheckArguments Method
IgnoreArguments Method
Repeat Method
RepeatAlways Method
WhenArgumentsMatch Method
DynamicReturnValue Delegate
ExpectationBlock Class
ExpectationBlock Members
Properties
Name Property
IIndexGetParameters Interface
IIndexGetParameters Members
Methods
Args Method
When Method
IIndexSetParameters Interface
IIndexSetParameters Members
Methods
Args Method
When Method
IMethodSettings Interface
IMethodSettings Members
Properties
IsStrict Property
Events
MockMethodCalled Event
IMockBehavior Interface
IMockBehavior Members
Methods
CheckArguments Method
IgnoreArguments Method
Repeat Method
RepeatAlways Method
WhenArgumentsMatch Method
IMockControl Interface
IMockControl Members
Properties
CallBase Property
ValidateArgsOnVerify Property
Methods
AlwaysReturn Method
AlwaysThrow Method
AnonymousMethodOf Method
AssignField Method
Clear Method
Clear Method ()
Clear Method (String)
ExpectAddEvent Method
ExpectAddEvent Method (String)
ExpectAddEvent Method (String, Int32)
ExpectAddEventAlways Method
ExpectAlways Method
ExpectAndReturn Method
ExpectAndReturn Method (String, Object, Int32, Type[])
ExpectAndReturn Method (String, Object, Type[])
ExpectAndThrow Method
ExpectAndThrow Method (String, Exception, Int32, Type[])
ExpectAndThrow Method (String, Exception, Type[])
ExpectCall Method
ExpectCall Method (String, Int32, Type[])
ExpectCall Method (String, Type[])
ExpectConstructor Method
ExpectConstructor Method ()
ExpectConstructor Method (Int32)
ExpectConstructorAlways Method
ExpectConstructorAndThrow Method
ExpectGet Method
ExpectGet Method (String, Object)
ExpectGet Method (String, Object, Int32)
ExpectGetAlways Method
ExpectGetAndAlwaysThrow Method
ExpectGetAndThrow Method
ExpectGetAndThrow Method (String, Exception)
ExpectGetAndThrow Method (String, Exception, Int32)
ExpectGetIndex Method
ExpectGetIndex Method (Object)
ExpectGetIndex Method (Object, Int32)
ExpectGetIndexAlways Method
ExpectGetIndexAndAlwaysThrow Method
ExpectGetIndexAndThrow Method
ExpectGetIndexAndThrow Method (Exception)
ExpectGetIndexAndThrow Method (Exception, Int32)
ExpectRemoveEvent Method
ExpectRemoveEvent Method (String)
ExpectRemoveEvent Method (String, Int32)
ExpectSet Method
ExpectSet Method (String)
ExpectSet Method (String, Int32)
ExpectSetAlways Method
ExpectSetAndAlwaysThrow Method
ExpectSetAndThrow Method
ExpectSetAndThrow Method (String, Exception)
ExpectSetAndThrow Method (String, Exception, Int32)
ExpectSetIndex Method
ExpectSetIndex Method ()
ExpectSetIndex Method (Int32)
ExpectSetIndexAlways Method
ExpectSetIndexAndAlwaysThrow Method
ExpectSetIndexAndThrow Method
ExpectSetIndexAndThrow Method (Exception)
ExpectSetIndexAndThrow Method (Exception, Int32)
ExpectUnmockedCall Method
ExpectUnmockedCall Method (String, Int32, Type[])
ExpectUnmockedCall Method (String, Type[])
ExpectUnmockedConstructor Method
ExpectUnmockedConstructor Method ()
ExpectUnmockedConstructor Method (Int32)
ExpectUnmockedGet Method
ExpectUnmockedGet Method (String)
ExpectUnmockedGet Method (String, Int32)
ExpectUnmockedSet Method
ExpectUnmockedSet Method (String)
ExpectUnmockedSet Method (String, Int32)
MethodSettings Method
MethodSettingsGetIndex Method
MethodSettingsGetProperty Method
MethodSettingsSetIndex Method
MethodSettingsSetProperty Method
MockField Method
IMockedEvent Interface
IMockedEvent Members
Methods
Fire Method
GetEventHandle Method
IParameters Interface
IParameters Members
Methods
Args Method
When Method
IPropertyParameters Interface
IPropertyParameters Members
Methods
Args Method
When Method
Mock Class
Mock Members
Mock Constructor
Properties
CallBase Property
CallStatic Property
MockedInstance Property
MockedType Property
Strict Property
StrictStatic Property
ValidateArgsOnVerify Property
Methods
AlwaysReturn Method
AlwaysThrow Method
AnonymousMethodOf Method
AssignField Method
Clear Method
Clear Method ()
Clear Method (String)
Clear Method (ExpectationBlock)
EndBlock Method
ExpectAddEvent Method
ExpectAddEvent Method (String)
ExpectAddEvent Method (String, Int32)
ExpectAddEventAlways Method
ExpectAlways Method
ExpectAndReturn Method
ExpectAndReturn Method (String, Object, Int32, Type[])
ExpectAndReturn Method (String, Object, Type[])
ExpectAndThrow Method
ExpectAndThrow Method (String, Exception, Int32, Type[])
ExpectAndThrow Method (String, Exception, Type[])
ExpectCall Method
ExpectCall Method (String, Int32, Type[])
ExpectCall Method (String, Type[])
ExpectCallAndVerify Method
ExpectConstructor Method
ExpectConstructor Method ()
ExpectConstructor Method (Int32)
ExpectConstructorAlways Method