|
@@ 105-114 (lines=10) @@
|
| 102 |
|
$subject->shouldHaveOperandAt(1); |
| 103 |
|
} |
| 104 |
|
|
| 105 |
|
public function it_a_convertible_arguments(Operand $first, Operand $second) |
| 106 |
|
{ |
| 107 |
|
$subject = $this->convert(['foo', $first, $second, 'bar']); |
| 108 |
|
$subject->shouldBeArray(); |
| 109 |
|
$subject->shouldHaveCount(4); |
| 110 |
|
$subject->shouldHaveField(); |
| 111 |
|
$subject->shouldHaveValue(); |
| 112 |
|
$subject->shouldHaveOperandAt(1); |
| 113 |
|
$subject->shouldHaveOperandAt(2); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
public function it_a_convertible_arguments2(Field $field, Operand $operand, Value $value) |
| 117 |
|
{ |
|
@@ 116-125 (lines=10) @@
|
| 113 |
|
$subject->shouldHaveOperandAt(2); |
| 114 |
|
} |
| 115 |
|
|
| 116 |
|
public function it_a_convertible_arguments2(Field $field, Operand $operand, Value $value) |
| 117 |
|
{ |
| 118 |
|
$subject = $this->convert([$field, $operand, 'foo', $value]); |
| 119 |
|
$subject->shouldBeArray(); |
| 120 |
|
$subject->shouldHaveCount(4); |
| 121 |
|
$subject->shouldHaveField(); |
| 122 |
|
$subject->shouldHaveValue(); |
| 123 |
|
$subject->shouldHaveOperandAt(1); |
| 124 |
|
$subject->shouldHaveValueAt(2); |
| 125 |
|
} |
| 126 |
|
|
| 127 |
|
public function getMatchers() |
| 128 |
|
{ |