### Question:
TxBuilder { public Transaction createNewTransaction(BigInteger gasPrice, BigInteger gasLimit, BigInteger txNonce) { String toAddress = Hex.toHexString(new ECKey(Utils.getRandom()).getAddress()); Transaction tx = Transaction.create(config, toAddress, BigInteger.valueOf(1000), txNonce, gasPrice, gasLimit); tx.sign(privateKeyBytes); return tx; } TxBuilder(UscSystemProperties config, Ethereum ethereum, BlockProcessor blockProcessor, Repository repository); void simulateTxs( ); void createNewTx(BigInteger txNonce); Transaction createNewTransaction(BigInteger gasPrice, BigInteger gasLimit, BigInteger txNonce); void stop();  }### Answer:
@Test public void createBasicTransaction() { SimpleEthereum usc = new SimpleEthereum(); TxBuilder builder = new TxBuilder(config, usc, null, (Repository) usc.repository); BigInteger gasPrice = BigInteger.ONE; BigInteger gasLimit = BigInteger.valueOf(21000); BigInteger nonce = BigInteger.TEN; Transaction tx = builder.createNewTransaction(gasPrice, gasLimit, nonce); Assert.assertEquals(gasLimit, new BigInteger(1, tx.getGasLimit())); Assert.assertEquals(gasPrice, tx.getGasPrice().asBigInteger()); Assert.assertEquals(nonce, new BigInteger(1, tx.getNonce())); }