function testZipPlusFour() { $s = new Supporter(array('Zip' => '02215-3456')); $s->zip_plus_four(); $this->assertEqual($s->data['Zip'], '02215'); $this->assertEqual($s->data['PRIVATE_Zip_Plus_4'], '3456'); }
function testZipPlusFour() { $s = new Supporter(array('Zip' => '02215-3456')); $s->zip_plus_four(); $this->assertEqual($s->data['Zip'], '02215'); $this->assertEqual($s->data['PRIVATE_Zip_Plus_4'], '3456'); }