### Question:
TransactionEncoder { private static byte[] encode(RawTransaction rawTransaction, Sign.SignatureData signatureData) { List<RlpType> values = asRlpValues(rawTransaction, signatureData); RlpList rlpList = new RlpList(values); return RlpEncoder.encode(rlpList); }  static byte[] signTxEIP155(
            RawTransaction rawTransaction, Integer chainId, Credentials credentials); static Sign.SignatureData createEip155SignatureData(
            Sign.SignatureData signatureData, byte chainId); static byte[] signMessage(
            RawTransaction rawTransaction, Integer chainId, Credentials credentials); static byte[] signMessage(RawTransaction rawTransaction, 
            byte chainId, Credentials credentials); static byte[] encode(RawTransaction rawTransaction); static byte[] encode(RawTransaction rawTransaction, byte chainId);  }### Answer:
@Test public void testEip155Encode() { byte[] encodedTransaction = TransactionEncoder.encode(createEip155RawTransaction(), (byte)100); assertThat(Numeric.toHexString(encodedTransaction), is("0xf84011808504a817c8008203e894d814f2ac2c4ca49b33066582e4e" + "97ebae02f2ab985e8d4a510008080940000000000000000000000000000000000000000648080")); }