Mock environment