@@ -19,6 +19,8 @@ It is based on [rybakit/phpunit-extras](https://github.com/rybakit/phpunit-extra
19
19
* [ luaCondition] ( #luacondition )
20
20
* [ Tarantool] ( #tarantool )
21
21
* [ Expectations] ( #expectations )
22
+ * [ Requests] ( #requests )
23
+ * [ Prepared statements] ( #prepared-statements )
22
24
* [ Mocking] ( #mocking )
23
25
* [ Testing] ( #testing )
24
26
* [ License] ( #license )
@@ -212,6 +214,8 @@ public function testPrepareCreatesPreparedStatement() : void
212
214
213
215
## Expectations
214
216
217
+ ### Requests
218
+
215
219
To test that your code sends (or does not send) certain requests, the following methods are available:
216
220
217
221
* ` TestCase::expect<REQUEST_NAME>RequestToBeCalled(int $count) : void `
@@ -251,6 +255,8 @@ public function testGetSpaceIsCached() : void
251
255
}
252
256
```
253
257
258
+ ### Prepared statements
259
+
254
260
In order to assert prepared statement allocations, use the ` Tarantool\PhpUnit\Expectation\PreparedStatementExpectations ` trait,
255
261
which contains the following methods:
256
262
0 commit comments