assertSame(FieldMaskConfig::MASK_REGEX, $config->type); $this->assertNull($config->replacement); } public function testRemoveConfig(): void { $config = new FieldMaskConfig(FieldMaskConfig::REMOVE); $this->assertSame(FieldMaskConfig::REMOVE, $config->type); $this->assertNull($config->replacement); } public function testReplaceConfig(): void { $config = new FieldMaskConfig(FieldMaskConfig::REPLACE, 'MASKED'); $this->assertSame(FieldMaskConfig::REPLACE, $config->type); $this->assertSame('MASKED', $config->replacement); } }