"""Tests for base exchange adapter."""

import pytest
from unittest.mock import Mock, AsyncMock
from src.exchanges.base import BaseExchange


class TestBaseExchange:
    """Tests for BaseExchange abstract class."""
    
    def test_base_exchange_init(self):
        """Test base exchange initialization."""
        # Can't instantiate abstract class, test through concrete implementation
        from src.exchanges.coinbase import CoinbaseExchange
        
        exchange = CoinbaseExchange(
            name="test",
            api_key="test_key",
            secret_key="test_secret"
        )
        assert exchange.name == "test"
        assert exchange.api_key == "test_key"
        assert not exchange.is_connected

