def METHOD_NAME(self):
    result = ((is_author | is_collabolator) & has_long_title)(self.user1)
    self.assertEqual(
        str(result),
        (
            "(AND: (OR: ('author', {u}), ('collaborators', {u})), "
            "('title__regex', '.{{10}}.*'))"
        ).format(u=repr(self.user1))
    )