You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
404 B
PHP
20 lines
404 B
PHP
<?php
|
|
|
|
namespace Engelsystem\Test\Unit\Http\Validation\Rules;
|
|
|
|
use Engelsystem\Http\Validation\Rules\In;
|
|
use Engelsystem\Test\Unit\TestCase;
|
|
|
|
class InTest extends TestCase
|
|
{
|
|
/**
|
|
* @covers \Engelsystem\Http\Validation\Rules\In::__construct
|
|
*/
|
|
public function testConstruct()
|
|
{
|
|
$rule = new In('foo,bar');
|
|
|
|
$this->assertEquals(['foo', 'bar'], $rule->haystack);
|
|
}
|
|
}
|