def test_prefecture(self, faker, num_samples):
    for _ in range(num_samples):
        prefecture = faker.prefecture()
        assert isinstance(prefecture, str)
        assert (prefecture in JaJpAddressProvider.prefectures)
def test_prefecture(self, faker, num_samples):
    for _ in range(num_samples):
        prefecture = faker.prefecture()
        assert isinstance(prefecture, str)
        assert (prefecture in JaJpAddressProvider.prefectures)