@Test
public void testSelectChannels() {

	int[] result = new int[] { 0 };
	sd.setInstance(streamRecord);
	assertArrayEquals(result, globalPartitioner.selectChannels(sd, 1));
	assertArrayEquals(result, globalPartitioner.selectChannels(sd, 2));
	assertArrayEquals(result, globalPartitioner.selectChannels(sd, 1024));
}