Summary
Creates ContainsSpecification
:
Checks if string contains another string (case sensitive).
- Namespace
- FluentSpecification
- Containing Type
- Specification
Syntax
[PublicAPI]
[NotNull]
public static IComplexSpecification<string> Contains(string expected)
Attributes
Type | Description |
---|---|
PublicAPI | |
NotNull |
Parameters
Name | Type | Description |
---|---|---|
expected | string | Expected substring. |
Return Value
Type | Description |
---|---|
I |
Composed complex Specification . |