@Test
public void testSelector() {

	StormStreamSelector<Object> selector = new StormStreamSelector<Object>();
	SplitStreamType<Object> tuple = new SplitStreamType<Object>();
	Iterator<String> result;
	tuple.streamId = "stream1";
	result = selector.select(tuple).iterator();
	Assert.assertEquals("stream1", result.next());
	Assert.assertFalse(result.hasNext());
	tuple.streamId = "stream2";
	result = selector.select(tuple).iterator();
	Assert.assertEquals("stream2", result.next());
	Assert.assertFalse(result.hasNext());
	tuple.streamId = "stream1";
	result = selector.select(tuple).iterator();
	Assert.assertEquals("stream1", result.next());
	Assert.assertFalse(result.hasNext());
}