public function testShouldValidateValidTypes($type, $input) { $rule = new Type($type); $this->assertTrue($rule->validate($input)); }