public
__construct( string $actualValue )
public expect\matcher\strategy\InclusionResult
expect\matcher\strategy\InclusionResult
match( array $expectValues )
<?php $strategy = new StringInclusionStrategy('foo'); $result = $strategy->match([ 'foo', 'bar' ]);.
<?php $strategy = new StringInclusionStrategy('foo'); $result = $strategy->match([ 'foo', 'bar' ]);. var_dump($result->isMatched()) // true var_dump($result->getMatchResults()); // ['foo'] var_dump($result->getUnmatchResults()); // ['bar'] ?>
expect\matcher\strategy\InclusionStrategy::match()