My advice would be to factor out all the common stuff into a separate class and then instantiate and access it in your fixture classes. But you should be able to do it with mixins, as well. It can also be done using a
templated base class, although that makes your code - and compiler errors it produces - harder to understand.