From 7744defa1f8a5f1b54d8eb78657bd2c8d73df29f Mon Sep 17 00:00:00 2001 From: David Phillips Date: Sat, 4 Apr 2020 00:21:47 +1300 Subject: WIP: Start writing some plugin tests --- Mock/CommandRegistry.pm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Mock/CommandRegistry.pm (limited to 'Mock/CommandRegistry.pm') 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 { + ... +} -- cgit v1.1