On an exercise test it calls the class as an argument (no method or anything, just its variable name), but the expected parameter is Iterable<T>. How does this work? Is there something wrong with the test. The three related code snippets consists of a: Interface Container, an Iterator for that interface, and the class using the interface.
Note: I did try to change the test so the parameter expects a Container and then the class with the interface runs an Iterator method, but I doubt this is the correct solution.