from edpconfigprovider import ConfigProviderType


class TestConfigProviderType:
    def test_json_value(self):
        assert ConfigProviderType.JSON == "json"

    def test_aws_appconfig_value(self):
        assert ConfigProviderType.AWS_APPCONFIG == "aws_appconfig"

    def test_aws_appconfig_agent_value(self):
        assert ConfigProviderType.AWS_APPCONFIG_AGENT == "aws_appconfig_agent"

    def test_aws_ssm_value(self):
        assert ConfigProviderType.AWS_SSM == "aws_ssm"

    def test_is_str_subclass(self):
        assert isinstance(ConfigProviderType.JSON, str)

    def test_enum_member_count(self):
        assert len(ConfigProviderType) == 4
