### Question:
Contract extends ManagedTransaction { public Optional<TransactionReceipt> getTransactionReceipt() { return Optional.ofNullable(transactionReceipt); } protected  Contract(String contractBinary, String contractAddress, Web3j web3j, TransactionManager transactionManager, GasProvider gasProvider, long chainId); protected  Contract(String contractBinary, String contractAddress, Web3j web3j, Credentials credentials, GasProvider gasProvider, long chainId); void setContractAddress(String contractAddress); String getContractAddress(); void setTransactionReceipt(TransactionReceipt transactionReceipt); String getContractBinary(); void setGasProvider(GasProvider gasProvider); boolean isValid(); Optional<TransactionReceipt> getTransactionReceipt(); void setDefaultBlockParameter(DefaultBlockParameter defaultBlockParameter); static RemoteCall<T> deployRemoteCall(Class<T> type, Web3j web3j, Credentials credentials,
            GasProvider contractGasProvider, String binary, String encodedConstructor, BigInteger value, long chainId); static RemoteCall<T> deployRemoteCall(Class<T> type, Web3j web3j, Credentials credentials,
            GasProvider contractGasProvider, String binary, String encodedConstructor, long chainId); static RemoteCall<T> deployRemoteCall(Class<T> type, Web3j web3j, TransactionManager transactionManager,
            GasProvider contractGasProvider, String binary, String encodedConstructor, BigInteger value, long chainId); static RemoteCall<T> deployRemoteCall(Class<T> type, Web3j web3j, TransactionManager transactionManager,
            GasProvider contractGasProvider, String binary, String encodedConstructor, long chainId); static EventValues staticExtractEventParameters(
            Event event, Log log, long chainId); final void setDeployedAddress(String networkId, String address); final String getDeployedAddress(String networkId); static final BigInteger GAS_LIMIT; static final String FUNC_DEPLOY; }### Answer:
@Test public void testGetContractTransactionReceipt() { assertFalse(contract.getTransactionReceipt().isPresent()); }