Constructor
new MockObject(object, nameopt)
Creates a new mockedObject
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
object |
object | Object to mock. |
||
name |
string |
<optional> |
<anonymous> | Name of object. |
- Source: