Skip to content

Mock API ​

Creating a mock ​

Create a mock for the provided object.

This does not change the object, but returns a mock object to set expectations on the object's methods.

Methods ​

Properties ​