Property | Type | Description | |
---|---|---|---|
FluentMessage | System |
Method | Description | |
---|---|---|
BuildMessage ( string message ) : |
Builds the message.
|
|
Expected ( object expected ) : |
Adds a message block to describe the expected result.
|
|
ExpectedType ( |
Adds a message block to describe the expected type.
|
|
ExpectedValues ( object expectedValues ) : |
Adds a message block to describe the expected values.
|
|
For ( |
Specifies the type of entities.
|
|
For ( string newEntityDescription ) : |
Specifies the attribute to use to describe entities.
|
|
On ( object test, int index ) : |
Adds a block describing the checked objet.
|
|
ReferenceValues ( object expected ) : |
Adds a message block to describe the expected result.
|
|
ToString ( ) : string |
Returns a System.String that represents this instance.
|
|
WithGivenValue ( object givenValue ) : |
Adds a message block to describe the given value (usually used as an alternative to the Expected block).
|
Method | Description | |
---|---|---|
FluentMessage ( string message ) : System |
Initializes a new instance of the FluentMessage class. You can use {x} as place holders for standard wordings: - {0}. |
public static BuildMessage ( string message ) : |
||
message | string | The message. |
return |
public Expected ( object expected ) : |
||
expected | object | The expected value. |
return |
public ExpectedType ( |
||
expectedType | The expected type. | |
return |
public ExpectedValues ( object expectedValues ) : |
||
expectedValues | object | The expected values. |
return |
public For ( |
||
forcedType | The type of the Entity. | |
return |
public For ( string newEntityDescription ) : |
||
newEntityDescription | string | The new description for the Entity. |
return |
public On ( object test, int index ) : |
||
test | object | The tested object/value. |
index | int | The interesting index (for enumerable types) |
return |
public ReferenceValues ( object expected ) : |
||
expected | object | The expected value. |
return |
public WithGivenValue ( object givenValue ) : |
||
givenValue | object | The given value. |
return |