Typemock Isolator 5.2.0 Released!

I’m happy to announce the latest version of Typemock Isolator. It’s been three months since the last Major version release. In this version the Isolator development team has done some work on improving the overall user experience when using AAA:

Visual Basic API

If you’re a developer using VB.NET there is no reason you could not use AAA – Isolator has a new API dedicated especially for Visual Basic.NET developers, that allows utilizing the simplicity and elegance of the Arrange-Act-Assert principals in VB.

Click the link to learn more on Programming Visual Basic applications with Isolator.

Dim fake As Logger = FakeInstance(Of Logger)()

‘ set behavior on the CanWrite() method

Using TheseCalls.WillReturn(True)

fake.CanWrite(“c:test.txt”)

End Using

fake.Write(“Hello World”)

‘ assert that a call happened

Using AssertCalls.HappenedWithExactArguments

fake.WriteToDisk(“c:test.txt”)

End Using

True Properties

setting property behavior is simpler than ever – just use the property setter to define property getter behavior: