### Question:
CommandMapper { public Set<Class<? extends ExecutableCommand>> getCommandClasses() { Set<Class<? extends ExecutableCommand>> classes = new HashSet<>(50); for (CommandDescription command : baseCommands) { classes.add(command.getExecutableCommand()); for (CommandDescription child : command.getChildren()) { classes.add(child.getExecutableCommand()); } } return classes; } @Inject  CommandMapper(CommandInitializer commandInitializer, PermissionsManager permissionsManager); FoundCommandResult mapPartsToCommand(CommandSender sender, List<String> parts); Set<Class<? extends ExecutableCommand>> getCommandClasses();  }### Answer:
@SuppressWarnings("unchecked") @Test public void shouldReturnExecutableCommandClasses() { Set<Class<? extends ExecutableCommand>> commandClasses = mapper.getCommandClasses(); assertThat(commandClasses, containsInAnyOrder(ExecutableCommand.class, HelpCommand.class, TestLoginCommand.class, TestRegisterCommand.class, TestUnregisterCommand.class)); }