/** * Test that minLength() returns true if the strings length meets the minimum requirement. */ public function testMinLength() { $this->assertTrue(Validate::minLength('This string is enough', 20)); $this->assertFalse(Validate::minLength('This is too short', 20)); }