Sanpi\Behatch\Context\SystemContext::commandShouldMoreLessThan PHP Method

commandShouldMoreLessThan() public method

Command should last more than
public commandShouldMoreLessThan ( $seconds )
    public function commandShouldMoreLessThan($seconds)
    {
        if ($this->lastExecutionTime < $seconds) {
            throw new \Exception(sprintf("Last command last %s which is less than %s seconds", $lastExecutionTime, $seconds));
        }
    }