def METHOD_NAME(
    decoy: Decoy,
    mock_sync_module_hardware: SynchronousAdapter[TempDeck],
    subject: LegacyTemperatureModuleCore,
) -> None:
    """It should get the current temperature from the hardware."""
    decoy.when(mock_sync_module_hardware.temperature).then_return(42.0)
    result = subject.get_current_temperature()
    assert result == 42.0