<?php

namespace App\DBRealTestSupport\TransactionSupported;

{{ imports }}

class TS{{ module }}Mother
{
    public static function random(
{{ sig }}
    ): {{ module }} {
        $faker = Factory::create();
        return new {{ module }}(
{{ args }}
        );
    }

    public static function push({{ module }} $model): {{ module }}
    {
        return TSRepositoryMother::push({{ module }}Repository::class, $model);
    }

    public static function pushRandom({{ prParams }}): {{ module }}
    {
        return self::push(self::random({{ randomCall }}));
    }
}
