@Test
public void testExecute() throws Exception {

  MasterReport report = mock( MasterReport.class );
  Configuration config = mock( Configuration.class );
  doReturn( config ).when( report ).getConfiguration();
  doNothing().when( report ).setReportEnvironment( any( ReportEnvironment.class ) );
  ModifiableConfiguration modifiableConfiguration = mock( ModifiableConfiguration.class );
  doReturn( modifiableConfiguration ).when( report ).getReportConfiguration();
  doNothing().when( modifiableConfiguration ).setConfigProperty( anyString(), anyString() );
  Map<String, Object> inputs = new HashMap<String, Object>() {
    {
      put( "_SCH_EMAIL_TO", "value" );
      put( "yield-rate", 3 );
    }
  };
  sra.setVarArgs( inputs );
  sra.setOutputTarget( "table/html;page-mode=page" );
  sra.setReport( report );
  assertFalse( sra._execute() );
  assertEquals( 3, sra.getYieldRate() );
  assertEquals( "table/html;page-mode=page", sra.getInput( "output-target", "" ) );
}