Closed GoogleCodeExporter closed 8 years ago
Actually, this is equivalent to arrayWithSize(not(0)) so a static factory could
work.
public static function nonEmptyArray() {
return self::arrayWithSize(Hamcrest_Core_Not(0));
}
Original comment by dharkn...@gmail.com
on 19 Aug 2010 at 12:31
[deleted comment]
Complete in 1.1 for array, string, and traversable.
Original comment by dharkn...@gmail.com
on 2 Feb 2012 at 11:52
Original issue reported on code.google.com by
dharkn...@gmail.com
on 18 Aug 2010 at 11:39