Method | Description | |
---|---|---|
On ( |
Adds a predicate to the stub
|
|
OnDataEquals ( string data ) : |
Adds a predicate to the stub that will match when the request data equals the specified data.
|
|
Returns ( ResponseBase response ) : |
Adds a response to the stub.
|
|
ReturnsData ( string data ) : |
Adds a response to the stub that will return the specified data.
|
public On ( |
||
predicate | The predicate object designating what the stub will match on | |
return |
public OnDataEquals ( string data ) : |
||
data | string | |
return |
public Returns ( ResponseBase response ) : |
||
response | ResponseBase | The response object designating what the stub will return |
return |
public ReturnsData ( string data ) : |
||
data | string | The data to be returned |
return |