/** * test the postal method of AtValidation * * @return void */ public function testPostal() { $this->assertTrue(AtValidation::postal('5110')); $this->assertFalse(AtValidation::postal('05110')); }
/** * test not implemented method * * @expectedException NotImplementedException */ public function testPhone() { AtValidation::phone('05110'); }