/** * test the postal method of EsValidation * * @return void */ public function testPostal() { $this->assertTrue(EsValidation::postal('02300')); $this->assertFalse(EsValidation::postal('2300')); $this->assertFalse(EsValidation::postal('230000')); }