title: Mock dll methods for unit tests
body: <p>I am trying to write a unit test for a method, which has a call to method from dll. Is there anyway i can mock the dll methods so that i can unit test?</p>
  
  <pre><code>public string GetName(dllobject, int id)
  {
       var eligibileEmp = dllobject.GetEligibleEmp(id); &lt;---------trying to mock 
                                                                   this method
  
       if(eligibleEmp.Equals(empValue)
       {
        ..........
       }
  }
  </code></pre>