public void shouldOutputToCliConsole() {
final HashSet<String> names = new HashSet<String>();
names.add("name1");
names.add("name2");
final CliConsole mockConsole = mock(CliConsole.class);
checking(new Expectations() {{
atLeast(names.size()).of(same(mockConsole)).method("writeInfo")
.with(any(String.class));
}});