@@ -35,6 +35,7 @@ public function asserting_that_a_timing_stat_was_sent_fails_when_the_stat_was_no
3535 $ fake ->timing ('stat ' , 1.0 );
3636
3737 $ fake ->assertTimingWasSent ('stat ' , 1.0 );
38+ $ fake ->assertTimingWasSent ('stat ' );
3839 try {
3940 $ fake ->assertTimingWasSent ('other ' , 1.0 );
4041 } catch (AssertionFailedError $ e ) {
@@ -53,6 +54,7 @@ public function asserting_that_a_timing_stat_was_sent_fails_when_the_stat_was_no
5354 $ fake ->timing ('stat ' , 1.0 );
5455
5556 $ fake ->assertTimingWasSent ('stat ' , 1.0 );
57+ $ fake ->assertTimingWasSent ('stat ' );
5658 try {
5759 $ fake ->assertTimingWasSent ('stat ' , 2.0 );
5860 } catch (AssertionFailedError $ e ) {
@@ -71,6 +73,7 @@ public function asserting_that_a_gauge_stat_was_sent_fails_when_the_stat_was_not
7173 $ fake ->gauge ('stat ' , 1.0 );
7274
7375 $ fake ->assertGaugeWasSent ('stat ' , 1.0 );
76+ $ fake ->assertGaugeWasSent ('stat ' );
7477 try {
7578 $ fake ->assertGaugeWasSent ('other ' , 1.0 );
7679 } catch (AssertionFailedError $ e ) {
@@ -89,6 +92,7 @@ public function asserting_that_a_gauge_stat_was_sent_fails_when_the_stat_was_not
8992 $ fake ->gauge ('stat ' , 1.0 );
9093
9194 $ fake ->assertGaugeWasSent ('stat ' , 1.0 );
95+ $ fake ->assertGaugeWasSent ('stat ' );
9296 try {
9397 $ fake ->assertGaugeWasSent ('stat ' , 2.0 );
9498 } catch (AssertionFailedError $ e ) {
@@ -107,6 +111,7 @@ public function asserting_that_a_histogram_stat_was_sent_fails_when_the_stat_was
107111 $ fake ->histogram ('stat ' , 1.0 );
108112
109113 $ fake ->assertHistogramWasSent ('stat ' , 1.0 );
114+ $ fake ->assertHistogramWasSent ('stat ' );
110115 try {
111116 $ fake ->assertHistogramWasSent ('other ' , 1.0 );
112117 } catch (AssertionFailedError $ e ) {
@@ -125,6 +130,7 @@ public function asserting_that_a_histogram_stat_was_sent_fails_when_the_stat_was
125130 $ fake ->histogram ('stat ' , 1.0 );
126131
127132 $ fake ->assertHistogramWasSent ('stat ' , 1.0 );
133+ $ fake ->assertHistogramWasSent ('stat ' );
128134 try {
129135 $ fake ->assertHistogramWasSent ('stat ' , 2.0 );
130136 } catch (AssertionFailedError $ e ) {
@@ -143,6 +149,7 @@ public function asserting_that_a_distribution_stat_was_sent_fails_when_the_stat_
143149 $ fake ->distribution ('stat ' , 1.0 );
144150
145151 $ fake ->assertDistributionWasSent ('stat ' , 1.0 );
152+ $ fake ->assertDistributionWasSent ('stat ' );
146153 try {
147154 $ fake ->assertDistributionWasSent ('other ' , 1.0 );
148155 } catch (AssertionFailedError $ e ) {
@@ -161,6 +168,7 @@ public function asserting_that_a_distribution_stat_was_sent_fails_when_the_stat_
161168 $ fake ->distribution ('stat ' , 1.0 );
162169
163170 $ fake ->assertDistributionWasSent ('stat ' , 1.0 );
171+ $ fake ->assertDistributionWasSent ('stat ' );
164172 try {
165173 $ fake ->assertDistributionWasSent ('stat ' , 2.0 );
166174 } catch (AssertionFailedError $ e ) {
@@ -179,6 +187,7 @@ public function asserting_that_a_set_stat_was_sent_fails_when_the_stat_was_not_s
179187 $ fake ->set ('stat ' , 1.0 );
180188
181189 $ fake ->assertSetWasSent ('stat ' , 1.0 );
190+ $ fake ->assertSetWasSent ('stat ' );
182191 try {
183192 $ fake ->assertSetWasSent ('other ' , 1.0 );
184193 } catch (AssertionFailedError $ e ) {
@@ -197,6 +206,7 @@ public function asserting_that_a_set_stat_was_sent_fails_when_the_stat_was_not_s
197206 $ fake ->set ('stat ' , 1.0 );
198207
199208 $ fake ->assertSetWasSent ('stat ' , 1.0 );
209+ $ fake ->assertSetWasSent ('stat ' );
200210 try {
201211 $ fake ->assertSetWasSent ('stat ' , 2.0 );
202212 } catch (AssertionFailedError $ e ) {
@@ -287,6 +297,7 @@ public function asserting_that_a_stat_was_update_fails_when_the_stat_was_not_upd
287297 $ fake ->updateStats ('stat ' , 10 );
288298
289299 $ fake ->assertStatWasUpdated ('stat ' , 10 );
300+ $ fake ->assertStatWasUpdated ('stat ' );
290301 try {
291302 $ fake ->assertStatWasUpdated ('other ' , 10 );
292303 } catch (AssertionFailedError $ e ) {
@@ -305,6 +316,7 @@ public function asserting_that_a_stat_was_update_fails_when_the_stat_was_not_upd
305316 $ fake ->updateStats ('stat ' , 10 );
306317
307318 $ fake ->assertStatWasUpdated ('stat ' , 10 );
319+ $ fake ->assertStatWasUpdated ('stat ' );
308320 try {
309321 $ fake ->assertStatWasUpdated ('stat ' , 1 );
310322 } catch (AssertionFailedError $ e ) {
0 commit comments