title: What is differential between useFactory and useValues?
body: <p>What is differential between <code>useFactory</code> and <code>useValues</code> who using for mock my module in <code>createTestingModule</code> on <strong>NestJS</strong></p>
  <p>I read <a href="https://docs.nestjs.com/fundamentals/testing" rel="nofollow noreferrer">Testing | NestJS</a> and I read the article but found no explanation about the difference or when to use either mode.</p>