<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-boundary](./case-boundary.md) &gt; [ITriggerFunction](./case-boundary.itriggerfunction.md)

## ITriggerFunction interface

Interface called by ContractCase to invoke user's test code.

**Signature:**

```typescript
export interface ITriggerFunction
```

## Methods

| Method                                                         | Description                                                 |
| -------------------------------------------------------------- | ----------------------------------------------------------- |
| [trigger(config)](./case-boundary.itriggerfunction.trigger.md) | Trigger the user's test code and test the response from it. |
