Insights – Get to know your fakes part 6- Static Constructors

This is part 6 of a series of post about the new Insights feature in Typemock Isolator 8.1

To start insights – either debug your test or turn on the Insights (Typemock->Windows->Typemock Insight and click the on/off button)

Typemock will call the static constructor of fake objects once a real object is called, this emulates the .NET and allows one test to fake a static constructor and another test to rely on the static constructor being called.

Insight will add a line with the static constructor for you.

Insight6

Previous

TOP