@Test
public void testChannelInitNoname() throws Exception {

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