ParameterPushdownController extends AbstractController { @Override public void setXulDomContainer( XulDomContainer xulDomContainer ) { super.setXulDomContainer( xulDomContainer ); initBindings(); } ParameterPushdownController( ParameterPushdownModel model ); @Override void setXulDomContainer( XulDomContainer xulDomContainer ); ParameterPushdownModel getModel(); static final String NAME; }
@Test public void testBindings() throws Exception { controller.setXulDomContainer( container ); InOrder binding = inOrder( bindingFactory, model ); binding.verify( bindingFactory ).setBindingType( Binding.Type.ONE_WAY ); binding.verify( bindingFactory ).createBinding( model, "definitions", "param_definitions", "elements" ); binding.verify( model ).reset(); }