.setMethod(SudokuService.getDescriptor().getMethods().get(0).getName())
.setRequest(request.toByteString()).build();
ChannelBuffer buffer = (ChannelBuffer) encoder.encode(null, null, message);
RpcDecoder decoder = new RpcDecoder();
RpcMessage decodedMessage = (RpcMessage) decoder.decode(null, null, buffer);
assertEquals(1, decodedMessage.getId());
}
@Test
public void testDecoder2() throws Exception {