public function testFormatearCuilt() { $this->assertEquals('20-25248532-6', Cuilt::FormatearCuilt('20252485326')); $this->assertEquals('20-25248532-6', Cuilt::FormatearCuilt('20-25248532-6')); }
/** * Setea el cuilt, realizando previamente un formateo. * * @param string $Cuilt */ public function setCuilt($Cuilt) { $this->Cuilt = \Tapir\BaseBundle\Helper\Cuilt::FormatearCuilt($Cuilt); }