// // OCHamcrest - HCIsEmptyCollection.h // Copyright 2013 hamcrest.org. See LICENSE.txt // // Created by: Jon Reid, http://qualitycoding.org/ // Docs: http://hamcrest.github.com/OCHamcrest/ // Source: https://github.com/hamcrest/OCHamcrest // #import @interface HCIsEmptyCollection : HCHasCount + (instancetype)isEmptyCollection; - (instancetype)init; @end OBJC_EXPORT __attribute__((deprecated)) id HC_empty(void); OBJC_EXPORT id HC_isEmpty(void); /** Matches empty collection. This matcher invokes @c -count on the evaluated object to determine if the number of elements it contains is zero. (In the event of a name clash, don't \#define @c HC_SHORTHAND and use the synonym @c HC_isEmpty instead.) @ingroup collection_matchers */ #ifdef HC_SHORTHAND #define isEmpty() HC_isEmpty() #endif