Skip to content
This repository was archived by the owner on Sep 25, 2023. It is now read-only.
This repository was archived by the owner on Sep 25, 2023. It is now read-only.

Expect with parameter? #50

@membersound

Description

@membersound

Could you enhance .expect() with a parameter? Maybe with the use of RequestMatcher?

server.expect(RequestMatcher... matcher).withPath("/api/v1/users").andReturn(200, "admin");

So it could be possible to return results based on the send request (especially important when multiple async requests are send to the mockWebServer).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions