use magicmocks for replacement injections