It's set true by default in the Definition of the class
```javascript
ApiMock.prototype.doMock = true;
```