validate($input); $this->assertEquals($expectedInput, $rule->lastInput); } /** * @return array[] */ public function validateProvider(): array { return [ ['TEST', 4], ['?', 1], ['2042-01-01 00:00', '2042-01-01 00:00'], ['3', '3'], ]; } }