}
}
public Test assertSharedOption(String expectedName, String... expectedValues) {
assertTrue(sharedOptionMatches.size() > 0);
OptionMatch match = sharedOptionMatches.removeFirst();
assertEquals(expectedName, match.getName());
ArrayList<String> values = new ArrayList<String>();
for (LiteralValue value : match.getValues()) {
values.add(value.getValue());
}
assertEquals(Arrays.asList(expectedValues), values);
return this;
}