### Question:
FixedKeySigningPrivateMarkerTransactionFactory extends PrivateMarkerTransactionFactory { @Override public Transaction create( final String transactionEnclaveKey, final PrivateTransaction privateTransaction, final Address precompileAddress) { return create( transactionEnclaveKey, privateTransaction, nonceProvider.getNonce(sender), signingKey, precompileAddress); } FixedKeySigningPrivateMarkerTransactionFactory(
      final Address privacyPrecompileAddress,
      final NonceProvider nonceProvider,
      final KeyPair signingKey); @Override Transaction create(
      final String transactionEnclaveKey,
      final PrivateTransaction privateTransaction,
      final Address precompileAddress);  }### Answer:
@Test public void createsFullyPopulatedPrivateMarkerTransactionUsingProvidedNonce() { final KeyPair signingKeys = KeyPair.generate(); final Address precompiledAddress = Address.fromHexString("1"); final FixedKeySigningPrivateMarkerTransactionFactory factory = new FixedKeySigningPrivateMarkerTransactionFactory( precompiledAddress, (address) -> providedNonce, signingKeys); final Transaction transaction = factory.create(enclaveKey, privTransaction); assertThat(transaction.getNonce()).isEqualTo(providedNonce); assertThat(transaction.getGasLimit()).isEqualTo(privTransaction.getGasLimit()); assertThat(transaction.getGasPrice()).isEqualTo(privTransaction.getGasPrice()); assertThat(transaction.getValue()).isEqualTo(privTransaction.getValue()); assertThat(transaction.getSender()) .isEqualTo(Util.publicKeyToAddress(signingKeys.getPublicKey())); assertThat(transaction.getTo()).isEqualTo(Optional.of(precompiledAddress)); assertThat(transaction.getPayload()) .isEqualTo(Bytes.wrap(Base64.getDecoder().decode(enclaveKey))); final Transaction nextTransaction = factory.create("enclaveKey", privTransaction); assertThat(nextTransaction.getSender()).isEqualTo(transaction.getSender()); }