use of fr.xephi.authme.command.FoundCommandResult in project AuthMeReloaded by AuthMe.
the class HelpProviderTest method shouldNotShowAnythingForEmptyPermissions.
@Test
public void shouldNotShowAnythingForEmptyPermissions() {
// given
CommandDescription command = getCommandWithLabel(commands, "authme");
FoundCommandResult result = newFoundResult(command, Collections.singletonList("authme"));
// when
helpProvider.outputHelp(sender, result, SHOW_PERMISSIONS);
// then
List<String> lines = getLines(sender);
assertThat(lines, hasSize(1));
}
Aggregations