diff options
author | David Phillips <david@yeah.nah.nz> | 2020-04-04 00:21:47 +1300 |
---|---|---|
committer | David Phillips <david@yeah.nah.nz> | 2020-04-04 13:19:55 +1300 |
commit | 7744defa1f8a5f1b54d8eb78657bd2c8d73df29f (patch) | |
tree | 17aa70627d43b251a8265891198ef02a30439705 /Mock/CommandRegistry.pm | |
parent | b4eb42636ebe66192d0e531bc691b6f38debfbde (diff) | |
download | idalius-7744defa1f8a5f1b54d8eb78657bd2c8d73df29f.tar.xz |
WIP: Start writing some plugin tests
Diffstat (limited to 'Mock/CommandRegistry.pm')
-rw-r--r-- | Mock/CommandRegistry.pm | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Mock/CommandRegistry.pm b/Mock/CommandRegistry.pm new file mode 100644 index 0000000..166879d --- /dev/null +++ b/Mock/CommandRegistry.pm @@ -0,0 +1,15 @@ +package Mock::CommandRegistry; + +use strict; +use warnings; + +use fields qw/commands/; + +sub new { + my ($class) = @_; + bless {}, $class; +} + +sub register { + ... +} |