bbrothers /
Muzzle
| 1 | <?php |
||
| 2 | |||
| 3 | namespace Muzzle\Assertions; |
||
| 4 | |||
| 5 | use Muzzle\Messages\Transaction; |
||
| 6 | |||
| 7 | class MethodMatches implements Assertion |
||
| 8 | { |
||
| 9 | |||
| 10 | public function assert(Transaction $actual, Transaction $expected) : void |
||
| 11 | { |
||
| 12 | |||
| 13 | $actual->request()->assertMethod($expected->request()->getMethod()); |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 14 | } |
||
| 15 | } |
||
| 16 |