* @license http://www.apache.org/licenses/LICENSE-2.0 * @package Tests\Utilities */ final class GetCreditEntityUtility { public static function get(): CreditEntity { $faker = Faker::create(); return CreditEntity::create([ 'name' => $faker->unique()->sha256, 'type' => $faker->unique()->sha256, ]); } }