def test_zipcode_plus4(self, faker, num_samples):
    for _ in range(num_samples):
        zipcode_plus4 = faker.zipcode_plus4()
        assert isinstance(zipcode_plus4, str)
        (zipcode, plus4) = zipcode_plus4.split('-')
        assert (501 <= int(zipcode) <= 99950)
        assert (1 <= int(plus4) <= 9999)
def test_zipcode_plus4(self, faker, num_samples):
    for _ in range(num_samples):
        zipcode_plus4 = faker.zipcode_plus4()
        assert isinstance(zipcode_plus4, str)
        (zipcode, plus4) = zipcode_plus4.split('-')
        assert (501 <= int(zipcode) <= 99950)
        assert (1 <= int(plus4) <= 9999)