Rename mock to stub. Fix wrong type factoryPostProcessor vs componentPostProcessor