    @Test
    public void testReconstructChannel() throws ClassNotFoundException, SQLException, InvalidArgumentException, ProposalException, java.lang.Exception {

        PowerMockito.mockStatic(HFClient.class);
        when(HFClient.createNewInstance()).thenReturn(mockClient);

        Set<String> returnSet = new HashSet<String>();
        returnSet.add("a");
        returnSet.add("c");

        when(mockClient.queryChannels(any(Peer.class))).thenReturn(returnSet);

        String configPath = "src/test/resources/blockchain-query";
        Class.forName("com.impetus.fabric.jdbc.FabricDriver");
        QueryBlock qb = new QueryBlock(configPath,"mychannel", null, null);



        HyperUser mockuser = mock(HyperUser.class);
        when(mockuser.isEnrolled()).thenReturn(true);

        Store mockStore = mock(Store.class);
        PowerMockito.whenNew(Store.class).withAnyArguments().thenReturn(mockStore);
        
        Channel mockChannel = mock(Channel.class);
        when(mockClient.newChannel(anyString())).thenReturn(mockChannel);

        qb.reconstructChannel();
    }