Method | Description | |
---|---|---|
AndConstraint ( Constraint left, Constraint right ) |
Create an AndConstraint from two other constraints
|
|
Matches ( object actual ) : bool |
Apply both member constraints to an actual value, succeeding succeeding only if both of them succeed.
|
|
WriteActualValueTo ( |
Write the actual value for a failing constraint test to a MessageWriter. The default implementation simply writes the raw value of actual, leaving it to the writer to perform any formatting.
|
|
WriteDescriptionTo ( |
Write a description for this contraint to a MessageWriter
|
public AndConstraint ( Constraint left, Constraint right ) | ||
left | Constraint | The first constraint |
right | Constraint | The second constraint |
public Matches ( object actual ) : bool | ||
actual | object | The actual value |
return | bool |
public WriteActualValueTo ( |
||
writer | The writer on which the actual value is displayed | |
return | void |
public WriteDescriptionTo ( |
||
writer | The MessageWriter to receive the description | |
return | void |