/** * test the postal method of GbValidation * * @return void */ public function testPostal() { $this->assertTrue(GbValidation::postal('DT4 8PP')); $this->assertFalse(GbValidation::postal('DT4-8PP')); }
/** * test the postal method of GbValidation * * @return void */ public function testPostal() { $this->assertTrue(GbValidation::postal('DT4 8PP')); $this->assertFalse(GbValidation::postal('DT4-8PP')); }