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 56add1d + ed2eb77 commit 6962365Copy full SHA for 6962365
PHPUnit/Framework/Assert.php
@@ -2775,6 +2775,16 @@ public static function stringEndsWith($suffix)
2775
return new PHPUnit_Framework_Constraint_StringEndsWith($suffix);
2776
}
2777
2778
+ /**
2779
+ * Returns a PHPUnit_Framework_Constraint_Count matcher object.
2780
+ *
2781
+ * @param int $count
2782
+ * @return PHPUnit_Framework_Constraint_Count
2783
+ */
2784
+ public static function arrayCount($count)
2785
+ {
2786
+ return new PHPUnit_Framework_Constraint_Count($count);
2787
+ }
2788
/**
2789
* Fails a test with the given message.
2790
*
0 commit comments