/** * testMaxLength method * * @return void */ public function testMaxLength() { $this->assertTrue(Validation::maxLength('ab', 3)); $this->assertTrue(Validation::maxLength('abc', 3)); $this->assertTrue(Validation::maxLength('ÆΔΩЖÇ', 10)); $this->assertFalse(Validation::maxLength('abcd', 3)); $this->assertFalse(Validation::maxLength('ÆΔΩЖÇ', 3)); }