Since the `assertOneOf` uses `lib.generators`, they are not really trivial anymore and should go into their own library file.