srecord ExpectLength(int l) extends Expecter { bool check(O o) { ret (o == null || o instanceof Collection || o instanceof L) && l(o) == l; } }