NAME
    Test::Mock::ExternalCommand - Create mock external-command easily

SYNOPSIS
      use Test::Mock::ExternalCommand;
      my $m = Test::Mock::ExternalCommand->new();
      $m->set_command( 'my-command-aaa', 'command-output', 0);
      # use 'my-command-aaa' in your test.

DESCRIPTION
    Test::Mock::ExternalCommand enable to make mock-external command in easy
    way.

Methods
  new()
  set_command( $command_name,  $command_output_string, $command_exit_status )
    set mock external command command.

  set_command_by_coderef( $command_name,  $command_behavior_subref )
    set mock external command command using subroutine reference(coderef).

  history()
    return command history.

  reset_history()
    reset command history.

  commands()
    return overridden command names

AUTHOR
    Takuya Tsuchida <tsucchi@cpan.org>

SEE ALSO
Copyright
    Copyright (c) 2010-2013 Takuya Tsuchida

LICENSE
    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.