@Test
public void testGetYieldRate() throws Exception {

  assertEquals( 0, sra.getYieldRate() );
  Map<String, Object> inputs = new HashMap<String, Object>() {
    {
      put( "yield-rate", 0.5 );
    }
  };
  sra.setVarArgs( inputs );
  assertEquals( 0, sra.getYieldRate() );
  inputs = new HashMap<String, Object>() {
    {
      put( "yield-rate", 3 );
    }
  };
  sra.setVarArgs( inputs );
  assertEquals( 3, sra.getYieldRate() );
}