@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $I = $this->tester; |
| 27 | 27 | $I->describe('income tax calculations'); |
| 28 | 28 | |
| 29 | - $I->verifyThat('income calculator honors tax rules for different ranges of income', function (TestGuy $I) use ($service) { |
|
| 29 | + $I->verifyThat('income calculator honors tax rules for different ranges of income', function(TestGuy $I) use ($service) { |
|
| 30 | 30 | $I->lookAt('income tax'); |
| 31 | 31 | |
| 32 | 32 | $I->expectThat('for income less that 50 000 calculator use 10% tax rule'); |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * @return $this |
| 23 | 23 | */ |
| 24 | 24 | public function isEqualToJsonFile($file): self { |
| 25 | - $this->startStep('is equal to JSON file "' . $file . '"') |
|
| 25 | + $this->startStep('is equal to JSON file "'.$file.'"') |
|
| 26 | 26 | ->assertJsonStringEqualsJsonFile($file); |
| 27 | 27 | return $this; |
| 28 | 28 | } |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * @return $this |
| 32 | 32 | */ |
| 33 | 33 | public function isNotEqualToJsonFile($file): self { |
| 34 | - $this->startStep('is not equal to JSON file "' . $file . '"') |
|
| 34 | + $this->startStep('is not equal to JSON file "'.$file.'"') |
|
| 35 | 35 | ->assertJsonStringNotEqualsJsonFile($file); |
| 36 | 36 | return $this; |
| 37 | 37 | } |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * @return $this |
| 41 | 41 | */ |
| 42 | 42 | public function isEqualToJsonString($string): self { |
| 43 | - $this->startStep('is equal to JSON string "' . $string . '"') |
|
| 43 | + $this->startStep('is equal to JSON string "'.$string.'"') |
|
| 44 | 44 | ->assertJsonStringEqualsJsonString($string); |
| 45 | 45 | return $this; |
| 46 | 46 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @return $this |
| 50 | 50 | */ |
| 51 | 51 | public function isNotEqualToJsonString($string): self { |
| 52 | - $this->startStep('is not equal to JSON string "' . $string . '"') |
|
| 52 | + $this->startStep('is not equal to JSON string "'.$string.'"') |
|
| 53 | 53 | ->assertJsonStringNotEqualsJsonString($string); |
| 54 | 54 | return $this; |
| 55 | 55 | } |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * @return $this |
| 59 | 59 | */ |
| 60 | 60 | public function isEqualToFile($file): self { |
| 61 | - $this->startStep('is equal to file "' . $file . '"') |
|
| 61 | + $this->startStep('is equal to file "'.$file.'"') |
|
| 62 | 62 | ->assertStringEqualsFile($file); |
| 63 | 63 | return $this; |
| 64 | 64 | } |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | * @return $this |
| 68 | 68 | */ |
| 69 | 69 | public function isNotEqualToFile($file): self { |
| 70 | - $this->startStep('is not equal to file "' . $file . '"') |
|
| 70 | + $this->startStep('is not equal to file "'.$file.'"') |
|
| 71 | 71 | ->assertStringNotEqualsFile($file); |
| 72 | 72 | return $this; |
| 73 | 73 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * @return $this |
| 77 | 77 | */ |
| 78 | 78 | public function isEqualToXmlFile($file): self { |
| 79 | - $this->startStep('is equal to XML file "' . $file . '"') |
|
| 79 | + $this->startStep('is equal to XML file "'.$file.'"') |
|
| 80 | 80 | ->assertXmlStringEqualsXmlFile($file); |
| 81 | 81 | return $this; |
| 82 | 82 | } |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | * @return $this |
| 86 | 86 | */ |
| 87 | 87 | public function isNotEqualToXmlFile($file): self { |
| 88 | - $this->startStep('is not equal to XML file "' . $file . '"') |
|
| 88 | + $this->startStep('is not equal to XML file "'.$file.'"') |
|
| 89 | 89 | ->assertXmlStringNotEqualsXmlFile($file); |
| 90 | 90 | return $this; |
| 91 | 91 | } |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | * @return $this |
| 95 | 95 | */ |
| 96 | 96 | public function isEqualToXmlString($xmlString): self { |
| 97 | - $this->startStep('is equal to XML string "' . $xmlString . '"') |
|
| 97 | + $this->startStep('is equal to XML string "'.$xmlString.'"') |
|
| 98 | 98 | ->assertXmlStringEqualsXmlString($xmlString); |
| 99 | 99 | return $this; |
| 100 | 100 | } |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * @return $this |
| 104 | 104 | */ |
| 105 | 105 | public function isNotEqualToXmlString($xmlString): self { |
| 106 | - $this->startStep('is not equal to XML string "' . $xmlString . '"') |
|
| 106 | + $this->startStep('is not equal to XML string "'.$xmlString.'"') |
|
| 107 | 107 | ->assertXmlStringNotEqualsXmlString($xmlString); |
| 108 | 108 | return $this; |
| 109 | 109 | } |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | * @return $this |
| 113 | 113 | */ |
| 114 | 114 | public function startsWith($prefix): self { |
| 115 | - $this->startStep('starts with "' . $prefix . '"') |
|
| 115 | + $this->startStep('starts with "'.$prefix.'"') |
|
| 116 | 116 | ->assertStringStartsWith($prefix); |
| 117 | 117 | return $this; |
| 118 | 118 | } |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * @return $this |
| 122 | 122 | */ |
| 123 | 123 | public function doesNotStartWith($prefix): self { |
| 124 | - $this->startStep('does not start with "' . $prefix . '"') |
|
| 124 | + $this->startStep('does not start with "'.$prefix.'"') |
|
| 125 | 125 | ->assertStringStartsNotWith($prefix); |
| 126 | 126 | return $this; |
| 127 | 127 | } |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * @return $this |
| 131 | 131 | */ |
| 132 | 132 | public function endsWith($suffix): self { |
| 133 | - $this->startStep('ends with "' . $suffix . '"') |
|
| 133 | + $this->startStep('ends with "'.$suffix.'"') |
|
| 134 | 134 | ->assertStringEndsWith($suffix); |
| 135 | 135 | return $this; |
| 136 | 136 | } |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * @return $this |
| 140 | 140 | */ |
| 141 | 141 | public function doesNotEndWith($suffix): self { |
| 142 | - $this->startStep('does not end with "' . $suffix . '"') |
|
| 142 | + $this->startStep('does not end with "'.$suffix.'"') |
|
| 143 | 143 | ->assertStringEndsNotWith($suffix); |
| 144 | 144 | return $this; |
| 145 | 145 | } |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | * @return $this |
| 149 | 149 | */ |
| 150 | 150 | public function matchesRegExp($expression): self { |
| 151 | - $this->startStep('matches regular expression "' . $expression . '"') |
|
| 151 | + $this->startStep('matches regular expression "'.$expression.'"') |
|
| 152 | 152 | ->assertRegExp($expression); |
| 153 | 153 | return $this; |
| 154 | 154 | } |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | * @return $this |
| 158 | 158 | */ |
| 159 | 159 | public function matchesFormat($format): self { |
| 160 | - $this->startStep('matches format "' . $format . '"') |
|
| 160 | + $this->startStep('matches format "'.$format.'"') |
|
| 161 | 161 | ->assertStringMatchesFormat($format); |
| 162 | 162 | return $this; |
| 163 | 163 | } |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | * @return $this |
| 167 | 167 | */ |
| 168 | 168 | public function doesNotMatchFormat($format): self { |
| 169 | - $this->startStep('does not match format "' . $format . '"') |
|
| 169 | + $this->startStep('does not match format "'.$format.'"') |
|
| 170 | 170 | ->assertStringNotMatchesFormat($format); |
| 171 | 171 | return $this; |
| 172 | 172 | } |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | * @return $this |
| 176 | 176 | */ |
| 177 | 177 | public function matchesFormatFromFile($formatFile): self { |
| 178 | - $this->startStep('matches format from file "' . $formatFile . '"') |
|
| 178 | + $this->startStep('matches format from file "'.$formatFile.'"') |
|
| 179 | 179 | ->assertStringMatchesFormatFile($formatFile); |
| 180 | 180 | return $this; |
| 181 | 181 | } |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | * @return $this |
| 185 | 185 | */ |
| 186 | 186 | public function doesNotMatchFormatFromFile($formatFile): self { |
| 187 | - $this->startStep('does not match format from file "' . $formatFile . '"') |
|
| 187 | + $this->startStep('does not match format from file "'.$formatFile.'"') |
|
| 188 | 188 | ->assertStringNotMatchesFormatFile($formatFile); |
| 189 | 189 | return $this; |
| 190 | 190 | } |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * @return $this |
| 194 | 194 | */ |
| 195 | 195 | public function contains($needle): self { |
| 196 | - $this->startStep('contains "' . $needle . '"') |
|
| 196 | + $this->startStep('contains "'.$needle.'"') |
|
| 197 | 197 | ->assertContains($needle); |
| 198 | 198 | return $this; |
| 199 | 199 | } |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | * @return $this |
| 203 | 203 | */ |
| 204 | 204 | public function doesNotContain($needle): self { |
| 205 | - $this->startStep('does not contain "' . $needle . '"') |
|
| 205 | + $this->startStep('does not contain "'.$needle.'"') |
|
| 206 | 206 | ->assertNotContains($needle); |
| 207 | 207 | return $this; |
| 208 | 208 | } |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | * @return $this |
| 16 | 16 | */ |
| 17 | 17 | public function isInternalType($type): self { |
| 18 | - $this->startStep('is internal type "' . $type . '"') |
|
| 18 | + $this->startStep('is internal type "'.$type.'"') |
|
| 19 | 19 | ->assertInternalType($type); |
| 20 | 20 | return $this; |
| 21 | 21 | } |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | * @return $this |
| 25 | 25 | */ |
| 26 | 26 | public function isNotInternalType($type): self { |
| 27 | - $this->startStep('is not internal type "' . $type . '"') |
|
| 27 | + $this->startStep('is not internal type "'.$type.'"') |
|
| 28 | 28 | ->assertNotInternalType($type); |
| 29 | 29 | return $this; |
| 30 | 30 | } |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | * @return $this |
| 55 | 55 | */ |
| 56 | 56 | public function isGreaterThan($expected): self { |
| 57 | - $this->startStep('is greater than "' . $expected . '"') |
|
| 57 | + $this->startStep('is greater than "'.$expected.'"') |
|
| 58 | 58 | ->assertGreaterThan($expected); |
| 59 | 59 | return $this; |
| 60 | 60 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * @return $this |
| 64 | 64 | */ |
| 65 | 65 | public function isLessThan($expected): self { |
| 66 | - $this->startStep('is less than "' . $expected . '"') |
|
| 66 | + $this->startStep('is less than "'.$expected.'"') |
|
| 67 | 67 | ->assertLessThan($expected); |
| 68 | 68 | return $this; |
| 69 | 69 | } |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | * @return $this |
| 73 | 73 | */ |
| 74 | 74 | public function isGreaterOrEqualTo($expected): self { |
| 75 | - $this->startStep('is greater or equal to "' . $expected . '"') |
|
| 75 | + $this->startStep('is greater or equal to "'.$expected.'"') |
|
| 76 | 76 | ->assertGreaterThanOrEqual($expected); |
| 77 | 77 | return $this; |
| 78 | 78 | } |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * @return $this |
| 82 | 82 | */ |
| 83 | 83 | public function isLessOrEqualTo($expected): self { |
| 84 | - $this->startStep('is less or equal to "' . $expected . '"') |
|
| 84 | + $this->startStep('is less or equal to "'.$expected.'"') |
|
| 85 | 85 | ->assertLessThanOrEqual($expected); |
| 86 | 86 | return $this; |
| 87 | 87 | } |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | * @return $this |
| 37 | 37 | */ |
| 38 | 38 | public function isEqualTo($file): self { |
| 39 | - $this->startStep('is equal to file "' . $file . '"') |
|
| 39 | + $this->startStep('is equal to file "'.$file.'"') |
|
| 40 | 40 | ->assertFileEquals($file); |
| 41 | 41 | return $this; |
| 42 | 42 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | * @return $this |
| 46 | 46 | */ |
| 47 | 47 | public function isNotEqualTo($file): self { |
| 48 | - $this->startStep('is not equal to file "' . $file . '"') |
|
| 48 | + $this->startStep('is not equal to file "'.$file.'"') |
|
| 49 | 49 | ->assertFileNotEquals($file); |
| 50 | 50 | return $this; |
| 51 | 51 | } |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | * @return $this |
| 55 | 55 | */ |
| 56 | 56 | public function isEqualToJsonFile($file): self { |
| 57 | - $this->startStep('is equal to json file "' . $file . '"') |
|
| 57 | + $this->startStep('is equal to json file "'.$file.'"') |
|
| 58 | 58 | ->assertJsonFileEqualsJsonFile($file); |
| 59 | 59 | return $this; |
| 60 | 60 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * @return $this |
| 64 | 64 | */ |
| 65 | 65 | public function isNotEqualToJsonFile($file): self { |
| 66 | - $this->startStep('is not equal to json file "' . $file . '"') |
|
| 66 | + $this->startStep('is not equal to json file "'.$file.'"') |
|
| 67 | 67 | ->assertJsonFileNotEqualsJsonFile($file); |
| 68 | 68 | return $this; |
| 69 | 69 | } |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | * @return $this |
| 73 | 73 | */ |
| 74 | 74 | public function isEqualToXmlFile($file): self { |
| 75 | - $this->startStep('is equal to xml file "' . $file . '"') |
|
| 75 | + $this->startStep('is equal to xml file "'.$file.'"') |
|
| 76 | 76 | ->assertXmlFileEqualsXmlFile($file); |
| 77 | 77 | return $this; |
| 78 | 78 | } |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * @return $this |
| 82 | 82 | */ |
| 83 | 83 | public function isNotEqualToXmlFile($file): self { |
| 84 | - $this->startStep('is not equal to xml file "' . $file . '"') |
|
| 84 | + $this->startStep('is not equal to xml file "'.$file.'"') |
|
| 85 | 85 | ->assertXmlFileNotEqualsXmlFile($file); |
| 86 | 86 | return $this; |
| 87 | 87 | } |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | * @return $this |
| 14 | 14 | */ |
| 15 | 15 | public function hasKey($key) { |
| 16 | - $this->startStep('has key "' . $key . '"') |
|
| 16 | + $this->startStep('has key "'.$key.'"') |
|
| 17 | 17 | ->assertArrayHasKey($key); |
| 18 | 18 | return $this; |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * @return $this |
| 26 | 26 | */ |
| 27 | 27 | public function doesNotHaveKey($key) { |
| 28 | - $this->startStep('does not have key "' . $key . '"') |
|
| 28 | + $this->startStep('does not have key "'.$key.'"') |
|
| 29 | 29 | ->assertArrayNotHasKey($key); |
| 30 | 30 | return $this; |
| 31 | 31 | } |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | * @return $this |
| 106 | 106 | */ |
| 107 | 107 | public function containsOnlyValuesOfType($type) { |
| 108 | - $this->startStep('contains only values of type "' . $type . '"') |
|
| 108 | + $this->startStep('contains only values of type "'.$type.'"') |
|
| 109 | 109 | ->assertContainsOnly($type); |
| 110 | 110 | return $this; |
| 111 | 111 | } |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * @return $this |
| 115 | 115 | */ |
| 116 | 116 | public function containsOnlyValuesOfNativeType($type) { |
| 117 | - $this->startStep('contains only values of native type "' . $type . '"') |
|
| 117 | + $this->startStep('contains only values of native type "'.$type.'"') |
|
| 118 | 118 | ->assertContainsOnly($type, true); |
| 119 | 119 | return $this; |
| 120 | 120 | } |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * @return $this |
| 124 | 124 | */ |
| 125 | 125 | public function containsOnlyInstancesOf($class) { |
| 126 | - $this->startStep('contains only instances of "' . $class . '"') |
|
| 126 | + $this->startStep('contains only instances of "'.$class.'"') |
|
| 127 | 127 | ->assertContainsOnlyInstancesOf($class); |
| 128 | 128 | return $this; |
| 129 | 129 | } |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | * @return $this |
| 133 | 133 | */ |
| 134 | 134 | public function doesNotContainOnlyValuesOfType($type) { |
| 135 | - $this->startStep('does not contain only values of type "' . $type . '"') |
|
| 135 | + $this->startStep('does not contain only values of type "'.$type.'"') |
|
| 136 | 136 | ->assertNotContainsOnly($type, null); |
| 137 | 137 | return $this; |
| 138 | 138 | } |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | * @return $this |
| 142 | 142 | */ |
| 143 | 143 | public function doesNotContainOnlyValuesOfNativeType($type) { |
| 144 | - $this->startStep('does not contain only values of native type "' . $type . '"') |
|
| 144 | + $this->startStep('does not contain only values of native type "'.$type.'"') |
|
| 145 | 145 | ->assertNotContainsOnly($type, true); |
| 146 | 146 | return $this; |
| 147 | 147 | } |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * @return $this |
| 17 | 17 | */ |
| 18 | 18 | public function isInstanceOf($class): self { |
| 19 | - $this->startStep('is instance of "' . $class . '"') |
|
| 19 | + $this->startStep('is instance of "'.$class.'"') |
|
| 20 | 20 | ->assertInstanceOf($class); |
| 21 | 21 | return $this; |
| 22 | 22 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | * @return $this |
| 26 | 26 | */ |
| 27 | 27 | public function isNotInstanceOf($class): self { |
| 28 | - $this->startStep('is not instance of "' . $class . '"') |
|
| 28 | + $this->startStep('is not instance of "'.$class.'"') |
|
| 29 | 29 | ->assertNotInstanceOf($class); |
| 30 | 30 | return $this; |
| 31 | 31 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * @return $this |
| 64 | 64 | */ |
| 65 | 65 | public function hasAttribute($attribute): self { |
| 66 | - $this->startStep('has attribute "' . $attribute . '"') |
|
| 66 | + $this->startStep('has attribute "'.$attribute.'"') |
|
| 67 | 67 | ->assertObjectHasAttribute($attribute); |
| 68 | 68 | return $this; |
| 69 | 69 | } |
@@ -72,15 +72,15 @@ discard block |
||
| 72 | 72 | * @return $this |
| 73 | 73 | */ |
| 74 | 74 | public function doesNotHaveAttribute($attribute): self { |
| 75 | - $this->startStep('does not have attribute "' . $attribute . '"') |
|
| 75 | + $this->startStep('does not have attribute "'.$attribute.'"') |
|
| 76 | 76 | ->assertObjectNotHasAttribute($attribute); |
| 77 | 77 | return $this; |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | public function throwsException($exceptionClass): ObjectExceptionMatcher { |
| 81 | - $this->startStep('throws exception "' . $exceptionClass . '"') |
|
| 81 | + $this->startStep('throws exception "'.$exceptionClass.'"') |
|
| 82 | 82 | ->expectException($exceptionClass); |
| 83 | 83 | |
| 84 | - return $this->createInternalMatcherWithDescription(ObjectExceptionMatcher::class, 'I see that exception "' . $exceptionClass . '"'); |
|
| 84 | + return $this->createInternalMatcherWithDescription(ObjectExceptionMatcher::class, 'I see that exception "'.$exceptionClass.'"'); |
|
| 85 | 85 | } |
| 86 | 86 | } |
| 87 | 87 | \ No newline at end of file |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | public function toString() { |
| 36 | 36 | $stepResult = $this->isChecked() ? "\u{2713} " : '- '; |
| 37 | - return $stepResult . $this->name; |
|
| 37 | + return $stepResult.$this->name; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | protected function isChecked() { |
@@ -32,8 +32,8 @@ |
||
| 32 | 32 | |
| 33 | 33 | public function convertToString(): string { |
| 34 | 34 | $message = implode(PHP_EOL, $this->steps); |
| 35 | - $message = $message ? $message . PHP_EOL : $message; |
|
| 36 | - return (string)$message; |
|
| 35 | + $message = $message ? $message.PHP_EOL : $message; |
|
| 36 | + return (string) $message; |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | public function clear() { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * @return $this |
| 48 | 48 | */ |
| 49 | 49 | public function describe(string $scenario): TestGuy { |
| 50 | - $this->steps->add('I describe ' . $scenario); |
|
| 50 | + $this->steps->add('I describe '.$scenario); |
|
| 51 | 51 | return $this; |
| 52 | 52 | } |
| 53 | 53 | |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * @return $this |
| 62 | 62 | */ |
| 63 | 63 | public function expectThat(string $expectation): TestGuy { |
| 64 | - $this->steps->add('I expect that ' . $expectation); |
|
| 64 | + $this->steps->add('I expect that '.$expectation); |
|
| 65 | 65 | |
| 66 | 66 | return $this; |
| 67 | 67 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | * @return $this |
| 77 | 77 | */ |
| 78 | 78 | public function expectTo(string $expectation): TestGuy { |
| 79 | - $this->steps->add('I expect to ' . $expectation); |
|
| 79 | + $this->steps->add('I expect to '.$expectation); |
|
| 80 | 80 | return $this; |
| 81 | 81 | } |
| 82 | 82 | |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | * @return $this |
| 94 | 94 | */ |
| 95 | 95 | public function verifyThat(string $expectation, callable $verificationSteps = null): TestGuy { |
| 96 | - $this->steps->add('I verify that ' . $expectation); |
|
| 96 | + $this->steps->add('I verify that '.$expectation); |
|
| 97 | 97 | if ($verificationSteps) { |
| 98 | 98 | $verificationSteps($this); |
| 99 | 99 | } |