/** * Matches if value is a non-zero-length string. * * @factory nonEmptyString */ public static function isNonEmptyString() { if (!self::$_NOT_INSTANCE) { self::$_NOT_INSTANCE = new self(false); } return self::$_NOT_INSTANCE; }
protected function createMatcher() { return Hamcrest_Text_IsEmptyString::isEmptyOrNullString(); }
/** * Matches if value is a non-zero-length string. */ function nonEmptyString() { require_once 'Hamcrest/Text/IsEmptyString.php'; return Hamcrest_Text_IsEmptyString::isNonEmptyString(); }