import { describe } from "vitest";
import { RecordingTracer } from "@repo/core-testing/instrumentation";
import { Mock{{pascalCase entity}}Repository } from "@/infrastructure/repositories/{{kebabCase entity}}.repository.mock";
import {
  {{camelCase entity}}RepositoryContract,
  CONTRACT_{{constantCase entity}}_SEED,
} from "@/__contracts__/{{kebabCase entity}}-repository.contract";

describe("Mock{{pascalCase entity}}Repository", () => {
  const tracer = new RecordingTracer();
  {{camelCase entity}}RepositoryContract.run(
    () => new Mock{{pascalCase entity}}Repository(new Map(CONTRACT_{{constantCase entity}}_SEED), tracer),
    { tracer: () => tracer },
  );
});
