doLetterCounterTest(SSB);
}
private void doLetterCounterTest(String text) throws Exception {
PipelineService service = PipelineServiceFactory.newPipelineService();
String pipelineId = service.startNewPipeline(new LetterCounter(), text);
SortedMap<Character, Integer> counts = waitForJobToComplete(pipelineId);
SortedMap<Character, Integer> expectedCounts = LetterCountExample.countLetters(text);
SortedMap<Character, Integer> expectedCountsLettersOnly = new TreeMap<>();
for (Entry<Character, Integer> entry : expectedCounts.entrySet()) {
if (Character.isLetter(entry.getKey())) {