Mock getEnvironment returns production