I think you wanted to pass the adapter to the environment. `createDummyGenerator` doesn't take any arguments (and anyway, the Adapter isn't define on a generator, only on the environment).