Property | Type | Description | |
---|---|---|---|
httpContext | Mock |
||
httpRequest | Mock |
Method | Description | |
---|---|---|
mockRequest ( |
||
mockRequestWithNVC ( |
The properties of the controller are added as public static attributes so that tests can edit them and setup whatever they need for their tests. all of the setups used in the mockRequestWithNVC are verifyable so that tests can verify anything further.
|
|
setSession ( ) : void |
public static mockRequest ( |
||
type | ||
return | Controller |
public static mockRequestWithNVC ( |
||
type | ||
collection | ||
return | Controller |