def METHOD_NAME(self, identifier=None, just_one=False):
    class FailingStr:
        def __init__(self, identifier=identifier):
            self.identifier = identifier
        def __str__(self):
            raise RuntimeError
    if just_one:
        return FailingStr()
    return FailingStr(), FailingStr()