Can this assertion fit on a single line without anonymous function using `.bind`?