    @Test(groups = { "test"})

    public void TestParaList() {
        int size = 3;
        List<StoreParas> list = new ArrayList<StoreParas>(size);
        for ( int i = 0 ; i < size ; i++) {
            list.add( new StoreParas(OpType.Put, Key.createKey("test-"+i), new BlockValue(("test-"+i).getBytes()
            ,i, (short ) 0)) );
        }
        byte[] bytes = new ParaList( list).toBytes();
        ParaList paraList = ParaList.toParaList( bytes);
        assertEquals(paraList.getSize(), list.size());
        int i = 0;
        for ( StoreParas each : paraList.getLists()){
            assertEquals( each.getOpType(), list.get(i).getOpType() );
            assertEquals( (byte[]) each.getValue().getData(), (byte[]) list.get(i++).getValue().getData());
        }
    }