import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_json_assertParse } from "../../internal/_test_json_assertParse";
import { ObjectRequired } from "../../structures/ObjectRequired";

export const test_json_createAssertParseCustom_ObjectRequired =
  _test_json_assertParse(CustomGuardError)("ObjectRequired")<ObjectRequired>(
    ObjectRequired,
  )(
    typia.json.createAssertParse<ObjectRequired>(
      (p) => new CustomGuardError(p),
    ),
  );
