Mocked generator