Method name is very ambiguous. In a few months you won't be able to explain what it does. Rename it to `mockEnvironment()`