@Test
public void testArrayJoin() {

    byte[] a = {0,1};
    byte[] b = {2,3};
    byte[] c = {4,5};
    byte[] cmp = {0,1,2,3,4,5};
    byte[] cmp2 = {0,1,4,5,2,3};
    assertTrue(Arrays.equals(cmp, SignalUtil.joinBytesArrays(a,b,c)));
    assertTrue(Arrays.equals(cmp2, SignalUtil.joinBytesArrays(a,c,b)));
}