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

[Home](./index.md) &gt; [@contract-case/case-definition-dsl](./case-definition-dsl.md) &gt; [interactions](./case-definition-dsl.interactions.md) &gt; [functions](./case-definition-dsl.interactions.functions.md)

## interactions.functions namespace

## Classes

<table><thead><tr><th>

Class

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

[WillCallFunction](./case-definition-dsl.interactions.functions.willcallfunction.md)

</td><td>

Defines an example that executes a registered function with specific arguments

</td></tr>
<tr><td>

[WillCallThrowingFunction](./case-definition-dsl.interactions.functions.willcallthrowingfunction.md)

</td><td>

Defines an interaction that executes a registered function with specific arguments, expecting that function to throw an error

</td></tr>
<tr><td>

[WillReceiveFunctionCall](./case-definition-dsl.interactions.functions.willreceivefunctioncall.md)

</td><td>

Defines an example that expects a function to be called with specific arguments

</td></tr>
<tr><td>

[WillReceiveFunctionCallAndThrow](./case-definition-dsl.interactions.functions.willreceivefunctioncallandthrow.md)

</td><td>

Defines an example that expects a function to be called with specific arguments

</td></tr>
</tbody></table>

## Interfaces

<table><thead><tr><th>

Interface

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

[FunctionExecutionExample](./case-definition-dsl.interactions.functions.functionexecutionexample.md)

</td><td>

Interaction descriptor for a function execution which returns successfully

</td></tr>
<tr><td>

[ThrowingFunctionExecutionExample](./case-definition-dsl.interactions.functions.throwingfunctionexecutionexample.md)

</td><td>

Interaction descriptor for a function execution that throws an error

</td></tr>
</tbody></table>
