* * For the full copyright and license information, please view the "LICENSE.md" * file that was distributed with this source code. */ declare(strict_types=1); namespace Respect\Validation\Rules\Locale; use Respect\Validation\Test\RuleTestCase; /** * @group rule * @covers \Respect\Validation\Rules\Locale\PlIdentityCard * * @author Henrique Moody */ class PlIdentityCardTest extends RuleTestCase { /** * {@inheritdoc} */ public function providerForValidInput(): array { $rule = new PlIdentityCard(); return [ [$rule, 'APH505567'], [$rule, 'AYE205410'], [$rule, 'AYW036733'], ]; } /** * {@inheritdoc} */ public function providerForInvalidInput(): array { $rule = new PlIdentityCard(); return [ [$rule, 'AAAAAAAAA'], [$rule, 'APH 505567'], [$rule, 'AYE205411'], [$rule, 'AYW036731'], ]; } }