# 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.
