Method | Description | |
---|---|---|
CollectionContainsConstraint ( object expected ) : System.Collections |
Construct a CollectionContainsConstraint
|
|
WriteDescriptionTo ( |
Write a descripton of the constraint to a MessageWriter
|
Method | Description | |
---|---|---|
doMatch ( IEnumerable actual ) : bool |
Test whether the expected item is contained in the collection
|
public CollectionContainsConstraint ( object expected ) : System.Collections | ||
expected | object | |
return | System.Collections |
public WriteDescriptionTo ( |
||
writer | ||
return | void |
protected doMatch ( IEnumerable actual ) : bool | ||
actual | IEnumerable | |
return | bool |