pock

Pock

Table of Contents

Namespaces

Comparator
Creator
Enum
Exception
Factory
Matchers
Promise
Serializer
Traits

Interfaces

MockInterface
Internal contract for a stateful request expectation and its configured outcome.

Classes

Client
PSR-18 and HTTPlug client that resolves requests against an ordered list of pock mocks.
Mock
Stores one request expectation, response strategy, and hit lifecycle.
PockBuilder
Defines request expectations and the responses or failures returned by the mock HTTP client.
PockResponseBuilder
Builds the PSR-7 response returned by a pock definition.
On this page

Search results