Specification.

NotContains(string) Method

Summary

Creates ContainsSpecification negation:

Checks if string not contains another string (case sensitive).

Namespace
FluentSpecification
Containing Type
Specification

Syntax

[PublicAPI]
[NotNull]
public static IComplexSpecification<string> NotContains(string notExpected)

Attributes

Type Description
PublicAPI
NotNull

Parameters

Name Type Description
notExpected string Not expected substring.

Return Value

Type Description
IComplexSpecification<string> Composed complex Specification.
GitHub