from decimal import Decimal
import unittest

from notbank_python_sdk.notbank_client import NotbankClient

from notbank_python_sdk.requests_models.fee_request import FeeRequest
from tests import test_helper


class TestGetDepositFee(unittest.TestCase):
    @classmethod
    def setUpClass(cls):
        connection = test_helper.new_rest_client_connection()
        cls.credentials = test_helper.load_credentials()
        test_helper.authenticate_connection(connection, cls.credentials)
        cls.client = NotbankClient(connection)

    def test_get_deposit_fee_success(self):
        response = self.client.get_deposit_fee(FeeRequest(
            account_id=self.credentials.account_id,
            product_id=1,
            amount=Decimal(100),
            account_provider_id=5,
        ))


if __name__ == "__main__":
    unittest.main()
