# runMessageCatalogueContract

Runs the shared behavioural suite for a `MessageCatalogue`. Proves a
key resolves with its parameters substituted, a missing key falls back to
the English value and warns exactly once per instance, `plural` picks the
right English form for 0, 1 and many, and `list` matches what
`Intl.ListFormat` itself produces.

This is a function exported by `@mapcairn/core/contracts`, checked against version 0.2.0.

## Signature

```ts
import { runMessageCatalogueContract } from "@mapcairn/core/contracts";
 
function runMessageCatalogueContract(name: string, fixture: MessageCatalogueFixture): void;
```

## Parameters

- `name` (`string`)
- `fixture` (`MessageCatalogueFixture`)

## Returns

`void`

## See also

- [`MessageCatalogueFixture`](https://docs.mapcairn.com/api/core/contracts/MessageCatalogueFixture.md)

Source: [packages/core/src/contracts/messageCatalogue.contract.ts:49](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/contracts/messageCatalogue.contract.ts#L49)
