# Stubs for jsonrpc.tests.test_jsonrpc1 (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

import unittest2 as unittest
from ..exceptions import JSONRPCInvalidRequestException
from ..jsonrpc1 import JSONRPC10Request, JSONRPC10Response
from typing import Any

class TestJSONRPC10Request(unittest.TestCase):
    request_params: Any = ...
    def setUp(self) -> None: ...
    def test_correct_init(self) -> None: ...
    def test_validation_incorrect_no_parameters(self) -> None: ...
    def test_method_validation_str(self) -> None: ...
    def test_method_validation_not_str(self) -> None: ...
    def test_params_validation_list(self) -> None: ...
    def test_params_validation_tuple(self) -> None: ...
    def test_params_validation_dict(self) -> None: ...
    def test_params_validation_none(self) -> None: ...
    def test_params_validation_incorrect(self) -> None: ...
    def test_request_args(self) -> None: ...
    def test_id_validation_string(self) -> None: ...
    def test_id_validation_int(self) -> None: ...
    def test_id_validation_null(self) -> None: ...
    def test_id_validation_none(self) -> None: ...
    def test_id_validation_float(self) -> None: ...
    def test_id_validation_list_tuple(self) -> None: ...
    def test_id_validation_default_id_none(self) -> None: ...
    def test_data_method_1(self) -> None: ...
    def test_data_method_2(self) -> None: ...
    def test_data_params_1(self) -> None: ...
    def test_data_params_2(self) -> None: ...
    def test_data_params_3(self) -> None: ...
    def test_data_id_1(self) -> None: ...
    def test_data_id_1_notification(self) -> None: ...
    def test_data_id_2(self) -> None: ...
    def test_data_id_2_notification(self) -> None: ...
    def test_data_id_3(self) -> None: ...
    def test_data_id_3_notification(self) -> None: ...
    def test_data_id_4(self) -> None: ...
    def test_data_id_4_notification(self) -> None: ...
    def test_is_notification(self) -> None: ...
    def test_set_unset_notification_keep_id(self) -> None: ...
    def test_error_if_notification_true_but_id_none(self) -> None: ...
    def test_from_json_invalid_request_method(self) -> None: ...
    def test_from_json_invalid_request_params(self) -> None: ...
    def test_from_json_invalid_request_id(self) -> None: ...
    def test_from_json_invalid_request_extra_data(self) -> None: ...
    def test_from_json_request(self) -> None: ...
    def test_from_json_request_notification(self) -> None: ...
    def test_from_json_string_not_dict(self) -> None: ...
    def test_data_setter(self) -> None: ...

class TestJSONRPC10Response(unittest.TestCase):
    response_success_params: Any = ...
    response_error_params: Any = ...
    def setUp(self) -> None: ...
    def test_correct_init(self) -> None: ...
    def test_validation_incorrect_no_parameters(self) -> None: ...
    def test_validation_success_incorrect(self) -> None: ...
    def test_validation_error_incorrect(self) -> None: ...
    def test_data(self) -> None: ...
    def test_data_setter(self) -> None: ...
    def test_validation_id(self) -> None: ...
