Skip to content

with method on mock classes #160

@xcambar

Description

@xcambar

as per #156 (comment),
add a with method that replaces withParams and allows to validate headers as well as params.

The methods accepts an object literal, the key params defines the params that must be matched and the headers key match the expected headers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions