@Test
public void testSetChannel() {

    try {
        Channel channel = hfclient.newChannel(DEFAULT_CHANNEL_NAME);
        orderer.setChannel(channel);
        Assert.assertTrue(channel == orderer.getChannel());
    } catch (Exception e) {
        Assert.fail("Unexpected Exception " + e.getMessage());
    }
}