use of io.atlasmap.v2.SimpleField in project atlasmap by atlasmap.
the class DefaultAtlasFieldActionsServiceTest method testProcessActionsActionsFieldAtlasConversionException.
@Test(expected = AtlasConversionException.class)
public void testProcessActionsActionsFieldAtlasConversionException() throws AtlasException {
Actions actions = null;
SimpleField field = new SimpleField();
Object value = new Object();
field.setValue(value);
field.setFieldType(FieldType.INTEGER);
fieldActionsService.processActions(actions, field);
}
use of io.atlasmap.v2.SimpleField in project atlasmap by atlasmap.
the class DefaultAtlasFieldActionsServiceTest method testprocessActionsActionsObjectFieldTypeAtlasConversionException.
@Test(expected = AtlasConversionException.class)
public void testprocessActionsActionsObjectFieldTypeAtlasConversionException() throws AtlasException {
Actions actions = null;
SimpleField field = new SimpleField();
Object value = new Object();
field.setValue(value);
field.setFieldType(FieldType.INTEGER);
fieldActionsService.processActions(actions, field);
}
Aggregations