<?php

declare(strict_types=1);

namespace Codeception\Step;

use Codeception\Lib\ModuleContainer;
use Codeception\Step as CodeceptionStep;
use PHPUnit\Framework\IncompleteTestError;

class Incomplete extends CodeceptionStep
{
    public function run(?ModuleContainer $container = null): void
    {
        throw new IncompleteTestError($this->getAction());
    }

    public function __toString(): string
    {
        return $this->getAction();
    }
}
