title: How to mock Fastify plugin
body: <p>I am trying to write unit testing for fastify application which also has custom fastify plugin. 
  Is there a way we can mock fastify plugin? I tried mocking using Jest and Sinon without much success.</p>