Yes is can, because of unit tests. I think it is better to replace m_pEngineEffectsManager with a moc object, instead off letting the audio callback suffer an unnecessary check