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?
public string GetName(dllobject, int id)
{
var eligibileEmp = dllobject.GetEligibleEmp(id); <---------trying to mock
this method
if(eligibleEmp.Equals(empValue)
{
..........
}
}