Property | Type | Description | |
---|---|---|---|
caseInsensitive | bool | ||
expected | string |
Method | Description | |
---|---|---|
Matches ( object actual ) : bool |
Test whether the constraint is satisfied by a given value
|
Method | Description | |
---|---|---|
Matches ( string actual ) : bool |
Test whether the constraint is satisfied by a given string
|
|
StringConstraint ( string expected ) |
Constructs a StringConstraint given an expected value
|
public Matches ( object actual ) : bool | ||
actual | object | The value to be tested |
return | bool |
protected abstract Matches ( string actual ) : bool | ||
actual | string | The string to be tested |
return | bool |
protected StringConstraint ( string expected ) | ||
expected | string | The expected value |