3 namespace Wikimedia\ParamValidator\TypeDef
;
5 use Wikimedia\ParamValidator\ParamValidator
;
8 * @covers Wikimedia\ParamValidator\TypeDef\PresenceBooleanDef
10 class PresenceBooleanDefTest
extends TypeDefTestCase
{
12 protected static $testClass = PresenceBooleanDef
::class;
14 public function provideValidate() {
20 [ 'anything really', true ],
24 public function provideDescribeSettings() {
27 [ [ ParamValidator
::PARAM_DEFAULT
=> 'foo' ], [], [] ],