/** * @see Num::mask_string */ public function test_mask_string() { $output = Num::mask_string('1234567812345678', '**** - **** - **** - 0000', ' -'); $expected = '**** - **** - **** - 5678'; $this->assertEquals($expected, $output); }