# createCommandContextMock API

Functions from @purista/core

---
Canonical: /handbook/api/functions/_purista_core.createCommandContextMock/
Source: testing/createCommandContextMock.ts
Format: Markdown for agents
---

Package: `@purista/core`

## Signature

```typescript
createCommandContextMock<TBuilder>(builder: TBuilder, input: CreateCommandContextMockInput<TBuilder>): CommandContextMockResult<TBuilder>
```
