assertTrue($this->validate('exact_len,5', 'ñándú')); } public function testErrorWhenMore() { $this->assertNotTrue($this->validate('exact_len,2', 'ñán')); } public function testErrorWhenLess() { $this->assertNotTrue($this->validate('exact_len,2', 'ñ')); } public function testWhenInputIsEmptyAndNotRequiredIsSuccess() { $this->assertTrue($this->validate('exact_len,2', '')); } }