HTTP Form Actions

Centum\Codeception\Actions\HttpFormActions

buildForm

buildForm(
    class-string<T> $formClass,
    Centum\Interfaces\Http\DataInterface $data,
    Centum\Interfaces\Http\FilesInterface $files = null
): T

expectFormThrowable

expectFormThrowable(
    Throwable|string $expectedThrowable,
    class-string<Centum\Interfaces\Http\FormInterface> $formClass,
    Centum\Interfaces\Http\DataInterface $data,
    Centum\Interfaces\Http\FilesInterface $files = null
): void