### Question:
HelpMessagesService { public String getDescription(CommandDescription command) { return getText(COMMAND_PREFIX + getCommandSubPath(command) + DESCRIPTION_SUFFIX, command::getDescription); } @Inject  HelpMessagesService(HelpMessagesFileHandler helpMessagesFileHandler); CommandDescription buildLocalizedDescription(CommandDescription command); String getDescription(CommandDescription command); String getMessage(HelpMessage message); String getMessage(HelpSection section); String getMessage(DefaultPermission defaultPermission); static String getDefaultPermissionsSubPath(DefaultPermission defaultPermission); void reloadMessagesFile(); static String getCommandSubPath(CommandDescription command);  }### Answer:
@Test public void shouldGetLocalCommandDescription() { CommandDescription command = getCommandWithLabel(COMMANDS, "authme", "register"); String description = helpMessagesService.getDescription(command); assertThat(description, equalTo("Registration")); }
@Test public void shouldFallbackToDescriptionOnCommandObject() { CommandDescription command = getCommandWithLabel(COMMANDS, "unregister"); String description = helpMessagesService.getDescription(command); assertThat(description, equalTo(command.getDescription())); }