PHPunit | aassertNotCount() Function

The aassertNotCount() function is a builtin function in PHPUnit and is used to assert an array not to contain same number of elements as the given count value. This assertion will return true in the case if the array doesn’t contain the exact number of elements as given count else return false. In case of true the asserted test case got passed else test case got failed.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.