ParameterPushdownFactory implements PushDownFactory { @Override public ParameterPushdown createPushDown() { return new ParameterPushdown(); }  @Override String getName(); @Override Class<ParameterPushdown> getType(); @Override ParameterPushdown createPushDown(); @Override DataServiceDialog.OptimizationOverlay createOverlay(); ParameterPushdownModel createModel( final DataServiceModel dialogModel );  }
@Test public void testCreatePushDown() throws Exception { assertThat( factory.getName(), is( ParameterPushdown.NAME ) ); assertThat( factory.getType(), is( TYPE ) ); assertThat( factory.createPushDown(), instanceOf( TYPE ) ); }