@Test
public void testSimpleStreamProcessing() throws Exception {
SimpleStreamProvider simpleStream = new SimpleStreamProvider(messages, false, false);
BlockingQueue<String> queue = new ArrayBlockingQueue<String>(10);
HosebirdMessageProcessor processor = new LineStringProcessor(queue);
int count = processStream(simpleStream, processor, queue);
assertEquals(messages.length, count);
}