StaticcreateCreates a mock provider for a Prisma model token.
The Prisma model token.
A NestJS provider with mock Prisma methods.
StaticcreateCreates a mock provider for a service.
The service class.
A NestJS provider with a mocked service instance.
StaticcreateCreates a mock instance of a class, mocking all its methods.
The class to mock.
A mocked instance of the class.
StaticgetGets all property names of an object, including those from its prototype chain.
The object to get property names from.
An array of property names.
A utility class for creating mock providers and instances for testing.