@Test
public void testChannelQueryBlockByHashNull() throws Exception {

    thrown.expect(InvalidArgumentException.class);
    thrown.expectMessage("blockHash parameter is null.");
    final Channel channel = createRunningChannel(null);
    channel.queryBlockByHash(null);
}