@Test
public void testSetVarArgs() throws Exception {

  assertTrue( sra.getInputs().size() == 0 );
  sra.setVarArgs( null );
  assertTrue( sra.getInputs().size() == 0 );
  Map<String, Object> inputs = new HashMap<String, Object>() {
    {
      put( "key", "value" );
    }
  };
  sra.setVarArgs( inputs );
  assertEquals( inputs, sra.getInputs() );
  assertEquals( "value", sra.getInput( "key", "defaultValue" ) );
}