for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of expect package.
*
* (c) Noritaka Horio <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace expect\matcher;
use expect\FailedMessage;
trait GreaterThanMatcherDelegatable
{
* @var \expect\matcher\ToBeGreaterThan
private $greaterThanMatcher;
* {@inheritdoc}
public function match($actual)
return $this->greaterThanMatcher->match($actual);
}
public function reportFailed(FailedMessage $message)
return $this->greaterThanMatcher->reportFailed($message);
public function reportNegativeFailed(FailedMessage $message)
return $this->greaterThanMatcher->reportNegativeFailed($message);