def METHOD_NAME(self, subtests):
    for value in [
        "C=US,CN=Joe , Smith,DC=example",
        ",C=US,CN=Joe , Smith,DC=example",
        "C=US,UNKNOWN=Joe , Smith,DC=example",
        "C=US,CN,DC=example",
        "C=US,FOOBAR=example",
    ]:
        with subtests.test():
            with pytest.raises(ValueError):
                Name.from_rfc4514_string(value)