PhpBench\Model\Result\RejectionCountResult::__construct PHP Method

__construct() public method

public __construct ( $rejectCount )
    public function __construct($rejectCount)
    {
        Assertion::integer($rejectCount, 'Rejection count must be an integer');
        Assertion::greaterOrEqualThan($rejectCount, 0, 'Rejection count must be greater or equal to 0');
        $this->rejectCount = $rejectCount;
    }