DispatcherCommand extends Command implements PluginIdentifiableCommand { @Override public Plugin getPlugin() { return plugin; } DispatcherCommand(String name, Plugin plugin, CommandDispatcher<CommandSender> dispatcher, String usage, List<String> aliases); @Override boolean execute(CommandSender sender, String label, String... arguments); @Override Plugin getPlugin();  }
@Test void getPlugin() { assertSame(plugin, command.getPlugin()); }