@Test
public void copyIntTest() throws IOException{
Pipe<RawDataSchema> encodedValuesToValidate = new Pipe<RawDataSchema>(new PipeConfig<RawDataSchema>(RawDataSchema.instance, 100, 4000));
encodedValuesToValidate.initBuffers();
DataOutputBlobWriter<RawDataSchema> writer = new DataOutputBlobWriter<RawDataSchema>(encodedValuesToValidate);
int[] intDictionary = new int[5];
Arrays.fill(intDictionary, 0);
intDictionary[2] = 5;
PhastEncoder.copyInt(intDictionary, writer, 0, 0, 2, 0, false);
writer.close();
}