You're right, this is not necessary - I just wanted to specifically test that 'get' is called if delete does not return a 404, and specifically in the other one that the whole function succeeds if 'get' returns a 404, but since that one also tests that get is called, it's excessive.