Skip to content

Expand MockTransport documentation [skip ci]#221

Closed
machour wants to merge 1 commit intoyiisoft:masterfrom
machour:docs/explain-mocktransport
Closed

Expand MockTransport documentation [skip ci]#221
machour wants to merge 1 commit intoyiisoft:masterfrom
machour:docs/explain-mocktransport

Conversation

@machour
Copy link
Copy Markdown
Member

@machour machour commented Sep 14, 2022

I needed to test my API consumer, and found little to no documentation for MockTransport, so here's a first stab at it.

Would love some feedback if my overall code could be enhanced (is this the correct way to implement a mockable API client?)

Q A
Is bugfix?
New feature?
Breaks BC?
Fixed issues

@machour
Copy link
Copy Markdown
Member Author

machour commented Sep 15, 2022

I need to document $mock->flushRequests() too

@machour machour marked this pull request as draft September 15, 2022 15:16
@machour machour closed this by deleting the head repository Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants