---
title: "Typemock Isolator 4.2 Beta released with cool new features (Previously Typemock.NET)"
url: "https://osherove.com/blog/2008/2/4/typemock-isolator-42-beta-released-with-cool-new-features-pr.md"
canonical: "https://osherove.com/blog/2008/2/4/typemock-isolator-42-beta-released-with-cool-new-features-pr.html"
published: "2008-02-04T06:27:01"
updated: "2008-02-04T06:27:01"
tags: ["Agile", "Agile Related", "Art Of Unit Testing"]
author: "Roy Osherove"
description: "We just released the beta of Typemock Isolator 4.2 beta (Previously just named Typemock.NET). You can get it here . Some of the cool new things: Mocked methods will be highlighted in the debugger if you step into them.…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Typemock Isolator 4.2 Beta released with cool new features (Previously Typemock.NET)

By Roy Osherove February 4, 2008 In [Agile](https://osherove.com/blog/category/agile), [Agile Related](https://osherove.com/blog/category/agile-related), [Art Of Unit Testing](https://osherove.com/blog/category/art-of-unit-testing)

**Historical article** · Originally published February 4, 2008; technical details may be outdated.

We just released the beta of Typemock Isolator 4.2 beta (Previously just named Typemock.NET). [You can get it here](http://www.typemock.com/Downloads.php).

Some of the cool new things:

- Mocked methods will be highlighted in the debugger if you step into them. in the picture below the "DoSomething()" method is being mocked, so stepping through it means nothing. The line around it signifies this status.

- You can evalutate mocked methods in the deibgger and various watch windows without the original test being affected (so if a mocked method should only return "1" on the first call, even if you evaluate it three times in a watch window it will return "1" in the watch window and also will still work in the test and return "1"
- You can now mock a non-value type fields on a class (used to be that you could just mock out properties)
- Supports running along side DotTrace 3.0
- FinalBuilder Typemock tasks (start,stop, set license + auto deploy)

One of the features which people didn't realize are possible with Typemock is [Mock chaining](http://www.typemock.com/Docs/UserGuide/index.php). You could essentially write the following:

using (RecordExpectations r = new RecordExpectations())
         {
             MyComplexFactory.GetSomeObject().Manager.DoSomething("a");
             r.Return(false);

         }

if you were using something like RhinoMocks, you'd have to have several stubs that return other stubs: the factory, the object it return, and the manager that object returns. with Typemock it's as trivial as just writing the full call chain and it will just work on the end object as if you did all of that.

You can also write it like this:

using (RecordExpectations r = new RecordExpectations())
         {
             r.ExpectAndReturn(
                 MyComplexFactory.GetSomeObject().Manager.DoSomething("a"),
                             false);
         }

## More in Agile

[All posts in Agile](https://osherove.com/blog/category/agile)

- Feb 14, 2008

    ### [Future of Mock Frameworks: AEIS - Abstract Expectations & Isolation Syntax](https://osherove.com/blog/2008/2/14/future-of-mock-frameworks-aeis-abstract-expectations-amp-iso.html)

- Feb 4, 2008

    ### [Mock vs. MockObject + Typemock Blog: Tips, Tricks and important things to know](https://osherove.com/blog/2008/2/4/mock-vs-mockobject-typemock-blog-tips-tricks-and-important-t.html)

- Jan 29, 2008

    ### [Extension methods around the Typemock Community Edition](https://osherove.com/blog/2008/1/29/extension-methods-around-the-typemock-community-edition.html)

- Jan 25, 2008

    ### [Research Finds TDD Boosts Developer Productivity](https://osherove.com/blog/2008/1/25/research-finds-tdd-boosts-developer-productivity.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
