We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9acbaa4 + 644e3df commit 7f46fb4Copy full SHA for 7f46fb4
tests/integration/MailhogClientTest.php
@@ -139,6 +139,7 @@ public function it_should_throw_exception_when_there_is_no_last_message(): void
139
140
/**
141
* @test
142
+ * @dataProvider limitProvider
143
*/
144
public function it_should_query_mailhog_until_all_messages_have_been_received(): void
145
{
@@ -168,6 +169,16 @@ function (Message $message) {
168
169
}
170
171
172
+ public function limitProvider(): array
173
+ {
174
+ return [
175
+ 'one by one' => [1],
176
+ 'limit less than total' => [2],
177
+ 'limit equal to total' => [5],
178
+ 'limit more than total' => [10],
179
+ ];
180
+ }
181
+
182
183
184
* @dataProvider specificationProvider
0 commit comments