Method | Description | |
---|---|---|
ContentResultAssertions ( ContentResult subject ) : FluentAssertions.Execution |
Initializes a new instance of the T:ContentResultAssertions class.
|
|
WithContent ( string expectedContent, string reason = "" ) : |
Asserts that the content is exactly the same as the expected content, ignoring the casing.
|
|
WithContentEncoding ( |
Asserts that the content encoding is the expected content encoding type.
|
|
WithContentType ( string expectedContentType, string reason = "" ) : |
Asserts that the content type is the expected content type.
|
public ContentResultAssertions ( ContentResult subject ) : FluentAssertions.Execution | ||
subject | ContentResult | |
return | FluentAssertions.Execution |
public WithContent ( string expectedContent, string reason = "" ) : |
||
expectedContent | string | The expected content string. |
reason | string |
/// A formatted phrase as is supported by |
return |
public WithContentEncoding ( |
||
expectedEncoding | The expected content encoding type. | |
reason | string |
/// A formatted phrase as is supported by |
return |
public WithContentType ( string expectedContentType, string reason = "" ) : |
||
expectedContentType | string | The expected content type. |
reason | string |
/// A formatted phrase as is supported by |
return |