title: How to mock a function that returns a GUID using Moq.Mock()
body: <p>How do I write a mock to a method that returns a GUID in .net mvc Unit test. eg: I have a service class which adds object to the DB and returns a GUID. I needto mock this in Unit test.</p>