HttpImageUploadChannel channel = new HttpImageUploadChannel(httpAddress,
journalId, FAKE_NSINFO, txid, 0, -1);
channel.start();
ByteArrayOutputStream bos = genBos();
channel.send(bos);
assertTrue(channel.isDisabled());
}
/**
* Generate ByteOutputStream with random content.