import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_json_assertStringify } from "../../internal/_test_json_assertStringify";
import { ObjectUndefined } from "../../structures/ObjectUndefined";

export const test_json_assertStringifyCustom_ObjectUndefined =
  _test_json_assertStringify(CustomGuardError)(
    "ObjectUndefined",
  )<ObjectUndefined>(ObjectUndefined)((input) =>
    typia.json.assertStringify<ObjectUndefined>(
      input,
      (p) => new CustomGuardError(p),
    ),
  );
