@Test
public void testChannelBadPeerCollectionNull() throws Exception {

    thrown.expect(InvalidArgumentException.class);
    thrown.expectMessage("Collection of peers is null.");
    final Channel channel = createRunningChannel(null);
    channel.sendTransactionProposal(hfclient.newTransactionProposalRequest(), null);
}