Mock DI with needle