• File: QRStringTestAbstract.php
  • File size: 674 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php
/**
 * Class QRStringTestAbstract
 *
 * @created      24.12.2017
 * @author       Smiley <smiley@chillerlan.net>
 * @copyright    2017 Smiley
 * @license      MIT
 */

namespace chillerlan\QRCodeTest\Output;

use chillerlan\QRCode\Output\QRString;

/**
 * Tests the QRString output module
 */
abstract class QRStringTestAbstract extends QROutputTestAbstract{

	protected string $FQN  = QRString::class;

	public static function moduleValueProvider():array{
		return [
			'invalid: wrong type'       => [[], false],
			'valid: string'             => ['abc', true],
			'valid: zero length string' => ['', true],
			'valid: empty string'       => [' ', true],
		];
	}

}