No simulation flags in production code
An if (Simulation) in every method of a device driver looks harmless, until real and fake behaviour are tangled together in one class. Choose the implementation once at the composition root, keep fakes in their own assembly, and keep test code out of what you ship.