Search in sources :

Example 1 with IdentityConverter

use of org.apache.gobblin.converter.IdentityConverter in project incubator-gobblin by apache.

the class InstrumentedConverterTest method testDecorator.

@Test
public void testDecorator() throws DataConversionException {
    InstrumentedConverterBase instrumentedConverter = new InstrumentedConverterDecorator(new TestInstrumentedConverter());
    testBase(instrumentedConverter);
    InstrumentedConverterBase nonInstrumentedConverter = new InstrumentedConverterDecorator(new IdentityConverter());
    testBase(nonInstrumentedConverter);
}
Also used : IdentityConverter(org.apache.gobblin.converter.IdentityConverter) Test(org.testng.annotations.Test)

Aggregations

IdentityConverter (org.apache.gobblin.converter.IdentityConverter)1 Test (org.testng.annotations.Test)1