Mocking Dependencies in Tests for Selective Method Requirements

Hi, I've a service that has N methods and some of those methods don't require dependencies to run or require just one out of 4 - when mocking in tests should I just provide one and assert the types and just provideService with {} as RequiredService for others or is there a better way?
            const runnable = program.pipe(
                Effect.provideService(Prisma, {
                    user: {
                        count: (_: { where: { userId: string } }) => Effect.succeed(5),
                    },
                } as any),
            );
Was this page helpful?