otherModuleName + MODULE_PATH_SEPARATOR + "~.web",
OptionContexts.PROJECT, null);
// Check
verify(mockCompletions).add(
new Completion(focusedModuleName + MODULE_PATH_SEPARATOR,
AnsiEscapeCode
.decorate(focusedModuleName
+ MODULE_PATH_SEPARATOR,
AnsiEscapeCode.FG_CYAN), "Modules", 0));
// prefix + topLevelPackage, formattedPrefix + topLevelPackage, heading
final String formattedPrefix = decorate(otherModuleName
+ MODULE_PATH_SEPARATOR, FG_CYAN);
final String prefix = otherModuleName + MODULE_PATH_SEPARATOR;
verify(mockCompletions).add(
new Completion(prefix + topLevelPackage, formattedPrefix
+ topLevelPackage, "", 1));
verify(mockCompletions).add(
new Completion(prefix + "~.web.ShouldBeFound", formattedPrefix
+ "~.web.ShouldBeFound", "", 1));
verifyNoMoreInteractions(mockCompletions);
}