Method | Description | |
---|---|---|
RedirectResultAssertions ( System.Web.Mvc.RedirectResult subject ) : System |
Initializes a new instance of the T:RedirectResultAssertions class.
|
|
WithPermanent ( bool expectedPermanent, string reason = "" ) : |
Asserts that the redirect is permanent.
|
|
WithUrl ( string expectedUrl, string reason = "" ) : |
Asserts that the url is the expected url.
|
public RedirectResultAssertions ( System.Web.Mvc.RedirectResult subject ) : System | ||
subject | System.Web.Mvc.RedirectResult | |
return | System |
public WithPermanent ( bool expectedPermanent, string reason = "" ) : |
||
expectedPermanent | bool | Should the expected redirect be permanent. |
reason | string |
/// A formatted phrase as is supported by |
return |
public WithUrl ( string expectedUrl, string reason = "" ) : |
||
expectedUrl | string | The expected url. |
reason | string |
/// A formatted phrase as is supported by |
return |