/** * Matches an empty array. * * @factory */ public static function nonEmptyArray() { return DescribedAs::describedAs('a non-empty array', self::arrayWithSize(IsNot::not(0))); }
protected function createMatcher() { return \Hamcrest\Core\DescribedAs::describedAs('irrelevant', anything()); }