@Test(expected = UnsupportedOperationException.class)
public void testSetControlBits(){

  WaksmanUtils util = new WaksmanUtils();
 
  int[] controlBits = new int[]{2,3,0,1};
  Matrix<BigInteger> permutationMatrix = util.setControlBits(controlBits);
  assertThat(permutationMatrix.getHeight(), is(2));
  assertThat(permutationMatrix.getWidth(), is(controlBits.length-1));
      
  util.setControlBits(new int[]{2,1,0});
}