Search in sources :

Example 1 with UppercaseStandardizer

use of com.thinkbiganalytics.policy.standardization.UppercaseStandardizer in project kylo by Teradata.

the class TestStandardizationTransform method testUppercaseStandardizer.

@Test
public void testUppercaseStandardizer() throws IOException {
    UppercaseStandardizer standardizer = UppercaseStandardizer.instance();
    FieldStandardizationRule uiModel = StandardizationAnnotationTransformer.instance().toUIModel(standardizer);
    UppercaseStandardizer convertedPolicy = fromUI(uiModel, UppercaseStandardizer.class);
    Assert.assertEquals(standardizer, convertedPolicy);
}
Also used : UppercaseStandardizer(com.thinkbiganalytics.policy.standardization.UppercaseStandardizer) FieldStandardizationRule(com.thinkbiganalytics.policy.rest.model.FieldStandardizationRule) Test(org.junit.Test)

Aggregations

FieldStandardizationRule (com.thinkbiganalytics.policy.rest.model.FieldStandardizationRule)1 UppercaseStandardizer (com.thinkbiganalytics.policy.standardization.UppercaseStandardizer)1 Test (org.junit.Test)1