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