ParameterPushdownModel extends AbstractModel { @VisibleForTesting protected DefinitionAdapter createAdapter( ParameterPushdown.Definition definition ) { DefinitionAdapter definitionAdapter = new DefinitionAdapter( definition ); definitionAdapter.setFieldList( fieldList ); return definitionAdapter; } ParameterPushdownModel( ParameterPushdown parameterPushdown ); ParameterPushdownModel reset(); ParameterPushdown getDelegate(); ImmutableList<DefinitionAdapter> getDefinitions(); void setFieldList( ImmutableList<String> fieldList ); @Override Map<String, Object> snapshot();  }
@Test public void testDefinitionAdapter() throws Exception { ParameterPushdown.Definition definition = parameterPushdown.createDefinition(); ParameterPushdownModel.DefinitionAdapter adapter = model.createAdapter( definition ); }