public
__construct( array $actualValues )
public expect\matcher\strategy\InclusionResult
expect\matcher\strategy\InclusionResult
match( array $expectValues )
<?php $strategy = new ArrayInclusionStrategy([ 1, 2 ]); $result = $strategy->match([ 1, 2, 3 ]);.
<?php $strategy = new ArrayInclusionStrategy([ 1, 2 ]); $result = $strategy->match([ 1, 2, 3 ]);. var_dump($result->isMatched()) // true var_dump($result->getMatchResults()); // [ 1, 2 ] var_dump($result->getUnmatchResults()); // [ 3 ] ?>
expect\matcher\strategy\InclusionStrategy::match()