### Question:
CommandManager implements Reloadable { public void runCommandsOnUnregister(Player player) { executeCommands(player, onUnregisterCommands.getAdaptedItems(player)); } @Inject  CommandManager(@DataFolder File dataFolder, BukkitService bukkitService, GeoIpService geoIpService,
                   CommandMigrationService commandMigrationService); void runCommandsOnJoin(Player player); void runCommandsOnRegister(Player player); void runCommandsOnLogin(Player player, List<String> otherAccounts); void runCommandsOnSessionLogin(Player player); void runCommandsOnFirstLogin(Player player, List<String> otherAccounts); void runCommandsOnUnregister(Player player); void runCommandsOnLogout(Player player); @Override void reload();  }### Answer:
@Test public void shouldExecuteCommandOnUnregister() { copyJarFileAsCommandsYml(TEST_FILES_FOLDER + "commands.incomplete.yml"); initManager(); manager.runCommandsOnUnregister(player); verify(bukkitService).dispatchConsoleCommand("msg Bobby sad to see you go!"); }