Expects the return value of the expectation to be a generator of the
        given values

def and_yields(self, *values):
        """Expects the return value of the expectation to be a generator of the
        given values
        """
        def generator():
            for value in values:
                yield value
        self.__expect(Expectation, Invoke(generator))