aboutsummaryrefslogtreecommitdiff
path: root/Mock/CommandRegistry.pm
diff options
context:
space:
mode:
authorDavid Phillips <david@yeah.nah.nz>2020-04-04 00:21:47 +1300
committerDavid Phillips <david@yeah.nah.nz>2020-04-04 13:19:55 +1300
commit7744defa1f8a5f1b54d8eb78657bd2c8d73df29f (patch)
tree17aa70627d43b251a8265891198ef02a30439705 /Mock/CommandRegistry.pm
parentb4eb42636ebe66192d0e531bc691b6f38debfbde (diff)
downloadidalius-7744defa1f8a5f1b54d8eb78657bd2c8d73df29f.tar.xz
WIP: Start writing some plugin tests
Diffstat (limited to 'Mock/CommandRegistry.pm')
-rw-r--r--Mock/CommandRegistry.pm15
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 {
+ ...
+}