Lines Matching refs:argument
157 argument - `'123'` to always return `'value'`. But that's only for this
161 - `ReturnArgumentPromise` or `->willReturnArgument($index)` - returns the nth method argument from …
217 like simple method arguments, in reality they are not. They are argument token
225 Those argument tokens are simple PHP classes, that implement
239 - `IdenticalValueToken` or `Argument::is($value)` - checks that the argument is identical to a spec…
240 - `ExactValueToken` or `Argument::exact($value)` - checks that the argument matches a specific value
241 - `TypeToken` or `Argument::type($typeOrClass)` - checks that the argument matches a specific type …
243 - `ObjectStateToken` or `Argument::which($method, $value)` - checks that the argument method returns
245 - `CallbackToken` or `Argument::that(callback)` - checks that the argument matches a custom callback
246 - `AnyValueToken` or `Argument::any()` - matches any argument
248 - `StringContainsToken` or `Argument::containingString($value)` - checks that the argument contains…
252 So, let's refactor our initial `{set,get}Name()` logic with argument tokens:
275 That's it. Now our `{set,get}Name()` prophecy will work with any string argument provided to it.
306 arguments wildcarding works. Every argument token type has a different score level, which