Generate a mock MessageEvent from a byte array @param data The data to pass on @return The event to hand to messageReceived(
(final byte[] data)
| 1556 | * @return The event to hand to messageReceived( |
| 1557 | */ |
| 1558 | static MessageEvent getMessage(final byte[] data) { |
| 1559 | final ChannelBuffer buf = ChannelBuffers.wrappedBuffer(data); |
| 1560 | return getMessage(buf); |
| 1561 | } |
| 1562 | |
| 1563 | /** |
| 1564 | * Generate a mock MessageEvent from a ChannelBuffer |
no outgoing calls
no test coverage detected