use of com.thinkbiganalytics.policy.standardization.MaskLeavingLastFourDigitStandardizer in project kylo by Teradata.
the class TestStandardizationTransform method testMaskLeavingLastFourDigitStandardizer.
@Test
public void testMaskLeavingLastFourDigitStandardizer() throws IOException {
MaskLeavingLastFourDigitStandardizer standardizer = MaskLeavingLastFourDigitStandardizer.instance();
FieldStandardizationRule uiModel = StandardizationAnnotationTransformer.instance().toUIModel(standardizer);
MaskLeavingLastFourDigitStandardizer convertedPolicy = fromUI(uiModel, MaskLeavingLastFourDigitStandardizer.class);
Assert.assertEquals(standardizer, convertedPolicy);
}
Aggregations