[#2473] Add Iterable support in assertIsEmpty/assertIsNotEmpty.