@@ -35,6 +35,7 @@ public function asserting_that_a_timing_stat_was_sent_fails_when_the_stat_was_no
35
35
$ fake ->timing ('stat ' , 1.0 );
36
36
37
37
$ fake ->assertTimingWasSent ('stat ' , 1.0 );
38
+ $ fake ->assertTimingWasSent ('stat ' );
38
39
try {
39
40
$ fake ->assertTimingWasSent ('other ' , 1.0 );
40
41
} catch (AssertionFailedError $ e ) {
@@ -53,6 +54,7 @@ public function asserting_that_a_timing_stat_was_sent_fails_when_the_stat_was_no
53
54
$ fake ->timing ('stat ' , 1.0 );
54
55
55
56
$ fake ->assertTimingWasSent ('stat ' , 1.0 );
57
+ $ fake ->assertTimingWasSent ('stat ' );
56
58
try {
57
59
$ fake ->assertTimingWasSent ('stat ' , 2.0 );
58
60
} catch (AssertionFailedError $ e ) {
@@ -71,6 +73,7 @@ public function asserting_that_a_gauge_stat_was_sent_fails_when_the_stat_was_not
71
73
$ fake ->gauge ('stat ' , 1.0 );
72
74
73
75
$ fake ->assertGaugeWasSent ('stat ' , 1.0 );
76
+ $ fake ->assertGaugeWasSent ('stat ' );
74
77
try {
75
78
$ fake ->assertGaugeWasSent ('other ' , 1.0 );
76
79
} catch (AssertionFailedError $ e ) {
@@ -89,6 +92,7 @@ public function asserting_that_a_gauge_stat_was_sent_fails_when_the_stat_was_not
89
92
$ fake ->gauge ('stat ' , 1.0 );
90
93
91
94
$ fake ->assertGaugeWasSent ('stat ' , 1.0 );
95
+ $ fake ->assertGaugeWasSent ('stat ' );
92
96
try {
93
97
$ fake ->assertGaugeWasSent ('stat ' , 2.0 );
94
98
} catch (AssertionFailedError $ e ) {
@@ -107,6 +111,7 @@ public function asserting_that_a_histogram_stat_was_sent_fails_when_the_stat_was
107
111
$ fake ->histogram ('stat ' , 1.0 );
108
112
109
113
$ fake ->assertHistogramWasSent ('stat ' , 1.0 );
114
+ $ fake ->assertHistogramWasSent ('stat ' );
110
115
try {
111
116
$ fake ->assertHistogramWasSent ('other ' , 1.0 );
112
117
} catch (AssertionFailedError $ e ) {
@@ -125,6 +130,7 @@ public function asserting_that_a_histogram_stat_was_sent_fails_when_the_stat_was
125
130
$ fake ->histogram ('stat ' , 1.0 );
126
131
127
132
$ fake ->assertHistogramWasSent ('stat ' , 1.0 );
133
+ $ fake ->assertHistogramWasSent ('stat ' );
128
134
try {
129
135
$ fake ->assertHistogramWasSent ('stat ' , 2.0 );
130
136
} catch (AssertionFailedError $ e ) {
@@ -143,6 +149,7 @@ public function asserting_that_a_distribution_stat_was_sent_fails_when_the_stat_
143
149
$ fake ->distribution ('stat ' , 1.0 );
144
150
145
151
$ fake ->assertDistributionWasSent ('stat ' , 1.0 );
152
+ $ fake ->assertDistributionWasSent ('stat ' );
146
153
try {
147
154
$ fake ->assertDistributionWasSent ('other ' , 1.0 );
148
155
} catch (AssertionFailedError $ e ) {
@@ -161,6 +168,7 @@ public function asserting_that_a_distribution_stat_was_sent_fails_when_the_stat_
161
168
$ fake ->distribution ('stat ' , 1.0 );
162
169
163
170
$ fake ->assertDistributionWasSent ('stat ' , 1.0 );
171
+ $ fake ->assertDistributionWasSent ('stat ' );
164
172
try {
165
173
$ fake ->assertDistributionWasSent ('stat ' , 2.0 );
166
174
} catch (AssertionFailedError $ e ) {
@@ -179,6 +187,7 @@ public function asserting_that_a_set_stat_was_sent_fails_when_the_stat_was_not_s
179
187
$ fake ->set ('stat ' , 1.0 );
180
188
181
189
$ fake ->assertSetWasSent ('stat ' , 1.0 );
190
+ $ fake ->assertSetWasSent ('stat ' );
182
191
try {
183
192
$ fake ->assertSetWasSent ('other ' , 1.0 );
184
193
} catch (AssertionFailedError $ e ) {
@@ -197,6 +206,7 @@ public function asserting_that_a_set_stat_was_sent_fails_when_the_stat_was_not_s
197
206
$ fake ->set ('stat ' , 1.0 );
198
207
199
208
$ fake ->assertSetWasSent ('stat ' , 1.0 );
209
+ $ fake ->assertSetWasSent ('stat ' );
200
210
try {
201
211
$ fake ->assertSetWasSent ('stat ' , 2.0 );
202
212
} catch (AssertionFailedError $ e ) {
@@ -287,6 +297,7 @@ public function asserting_that_a_stat_was_update_fails_when_the_stat_was_not_upd
287
297
$ fake ->updateStats ('stat ' , 10 );
288
298
289
299
$ fake ->assertStatWasUpdated ('stat ' , 10 );
300
+ $ fake ->assertStatWasUpdated ('stat ' );
290
301
try {
291
302
$ fake ->assertStatWasUpdated ('other ' , 10 );
292
303
} catch (AssertionFailedError $ e ) {
@@ -305,6 +316,7 @@ public function asserting_that_a_stat_was_update_fails_when_the_stat_was_not_upd
305
316
$ fake ->updateStats ('stat ' , 10 );
306
317
307
318
$ fake ->assertStatWasUpdated ('stat ' , 10 );
319
+ $ fake ->assertStatWasUpdated ('stat ' );
308
320
try {
309
321
$ fake ->assertStatWasUpdated ('stat ' , 1 );
310
322
} catch (AssertionFailedError $ e ) {
0 commit comments