### Question:
MdcLoggingContextService implements LoggingContextService { @Override public String getTransactionStatus() { return MDC.get(TRANSACTION_STATUS_KEY); }  @Override void storeConsentStatus(@NotNull ConsentStatus consentStatus); @Override String getConsentStatus(); @Override void storeTransactionStatus(@NotNull TransactionStatus transactionStatus); @Override String getTransactionStatus(); @Override void storeScaStatus(@NotNull ScaStatus scaStatus); @Override void storeTransactionAndScaStatus(@NotNull TransactionStatus transactionStatus, @Nullable ScaStatus scaStatus); @Override String getScaStatus(); @Override void storeRequestInformation(RequestInfo requestInfo); @Override RequestInfo getRequestInformation(); @Override void clearContext();  }### Answer:
@Test void getTransactionStatus_shouldTakeStatusFromMdc() { String expectedStatus = TransactionStatus.ACCC.getTransactionStatus(); MDC.put(TRANSACTION_STATUS_KEY, expectedStatus); String actualStatus = mdcLoggingContextService.getTransactionStatus(); assertEquals(expectedStatus, actualStatus); }