A way to mock adply

Why do you replace that? I thought that's the way to do it.