/** * test the ssn method of IrValidation * * @return void */ public function testSsn() { $this->assertTrue(IrValidation::personId('9876543210')); $this->assertTrue(IrValidation::personId('1234567891')); $this->assertTrue(IrValidation::personId('0324354657')); $this->assertFalse(IrValidation::personId('1234567890')); //$this->assertFalse(IrValidation::personId('3333333333')); $this->assertFalse(IrValidation::personId('0324354654')); $this->assertFalse(IrValidation::personId('12345')); }