File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ It is based on [rybakit/phpunit-extras](https://github.com/rybakit/phpunit-extra
1919 * [ luaCondition] ( #luacondition )
2020 * [ Tarantool] ( #tarantool )
2121 * [ Expectations] ( #expectations )
22+ * [ Requests] ( #requests )
23+ * [ Prepared statements] ( #prepared-statements )
2224 * [ Mocking] ( #mocking )
2325 * [ Testing] ( #testing )
2426 * [ License] ( #license )
@@ -212,6 +214,8 @@ public function testPrepareCreatesPreparedStatement() : void
212214
213215## Expectations
214216
217+ ### Requests
218+
215219To test that your code sends (or does not send) certain requests, the following methods are available:
216220
217221 * ` TestCase::expect<REQUEST_NAME>RequestToBeCalled(int $count) : void `
@@ -251,6 +255,8 @@ public function testGetSpaceIsCached() : void
251255}
252256```
253257
258+ ### Prepared statements
259+
254260In order to assert prepared statement allocations, use the ` Tarantool\PhpUnit\Expectation\PreparedStatementExpectations ` trait,
255261which contains the following methods:
256262
You can’t perform that action at this time.
0 commit comments