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.
1 parent 40e860a commit ed2eb77Copy full SHA for ed2eb77
PHPUnit/Framework/Assert.php
@@ -2733,6 +2733,16 @@ public static function stringEndsWith($suffix)
2733
return new PHPUnit_Framework_Constraint_StringEndsWith($suffix);
2734
}
2735
2736
+ /**
2737
+ * Returns a PHPUnit_Framework_Constraint_Count matcher object.
2738
+ *
2739
+ * @param int $count
2740
+ * @return PHPUnit_Framework_Constraint_Count
2741
+ */
2742
+ public static function arrayCount($count)
2743
+ {
2744
+ return new PHPUnit_Framework_Constraint_Count($count);
2745
+ }
2746
/**
2747
* Fails a test with the given message.
2748
*
0 commit comments