@Test
public void testChannelInitNullClient() throws Exception {

    thrown.expect(InvalidArgumentException.class);
    thrown.expectMessage("Can not initialize channel without a client object.");
    final Channel channel = hfclient.newChannel("testChannelInitNullClient");
    setField(channel, "client", null);
    channel.initialize();
}