### Question:
DefaultCommandManager implements CommandManager { @NotNull @Override public Optional<CommandContainer> getCommand(@NotNull String anyAlias) { for (CommandContainer command : this.commands) { if (command.getAliases().contains(anyAlias.toLowerCase())) { return Optional.of(command); } } return Optional.empty(); }  @Override @NotNull CommandManager registerCommand(@NotNull Command command, @NotNull String description, @NotNull List<String> aliases); @Override void unregisterCommand(@NotNull CommandContainer command); @Override void unregisterCommand(@NotNull String... aliases); @NotNull @Override Optional<CommandContainer> getCommand(@NotNull String anyAlias); @NotNull @Override @UnmodifiableView Collection<CommandContainer> getCommands(); @Override boolean process(@NotNull String commandLine, @NotNull CommandSender commandSender); @NotNull @Override List<String> suggest(@NotNull String commandLine, @NotNull CommandSender commandSender);  }### Answer:
@Test @Order(2) void testCommandGet() { CommandContainer commandContainer = this.commandManager.getCommand("test").orElse(null); Assertions.assertNotNull(commandContainer); Assertions.assertEquals(commandContainer.getDescription(), "A test command"); Assertions.assertEquals(2, commandContainer.getAliases().size()); }