def test_state_name(self, faker, num_samples):
    for _ in range(num_samples):
        state_name = faker.state_name()
        assert isinstance(state_name, str)
        assert (state_name in EsEsAddressProvider.states)
def test_state_name(self, faker, num_samples):
    for _ in range(num_samples):
        state_name = faker.state_name()
        assert isinstance(state_name, str)
        assert (state_name in EsEsAddressProvider.states)