/** * @Then Assert the array :arg1 don't count :integer elements * * @param $haystack * @param $expectedCount */ public function assertNotCount($haystack, $expectedCount) { $expectedCount = (int) $expectedCount; assertNotCount($expectedCount, $haystack, sprintf("Assert the array [%s] don't have [%s] elements, but [%s].", print_r($haystack, true), $expectedCount, count($haystack))); }
public function test_it_finds_collection_instances_for_collection_set_id_and_page_version_id() { $output = $this->CollectionsRepository->findCollectionInstancesForCollectionSetIdAndPageVersionId(1, 1); assertNotCount(0, $output); }