In his talk, Ian Cooper (at 33:30), mentioned the imposter design pattern. Searching the net, I found that it is introduced in the Test Driven Development : by example, but I couldn't find any more details.
- what exactly is the imposter design pattern?
- how to implement it in c++?
Imposter is also known as Test Double.
Implementation depends on the variation: