mock4net icon indicating copy to clipboard operation
mock4net copied to clipboard

Wording to use

Open dupdob opened this issue 9 years ago • 0 comments

The initial mock4net version relies on Responses starting point to create checks.

When I read it, I assume this is an enum type (due the plural form). Following this conception, it implies that syntax would be:

Responses.Success.WithCode(xxx);

where success happens to be a specific value/instance of response.

Alternatively, the check could take the form of a verb, using Responds instead

Responds.WithSuccess().AndCode(xxx)

Maybe I am going to far in my analysis of this, but tt is still appropriate time to refine wording, and I feel choosing the best wording is instrumental in the success of a library.

dupdob avatar Sep 09 '15 11:09 dupdob