import typia from "typia";

import { CustomGuardError } from "../../internal/CustomGuardError";
import { _test_functional_assertFunction } from "../../internal/_test_functional_assertFunction";
import { ClassMethod } from "../../structures/ClassMethod";

export const test_functional_assertFunctionCustom_ClassMethod =
  _test_functional_assertFunction(CustomGuardError)("ClassMethod")(ClassMethod)(
    (p: (input: ClassMethod) => ClassMethod) =>
      typia.functional.assertFunction(p, (p) => new CustomGuardError(p)),
  );
