You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to mock protected generic method of base class from which is calling from child.
I am calling base method from child class as below
this.ExecuteHttpPutCall<ClassT, ServiceResult<IEnumerable>>(url, request,handler)
It is not possible to currently mock a protected method that has generic type parameters.
protected virtual TEntity GetEntityByName<TEntity>(string name)
Related question on StackOverflow
The text was updated successfully, but these errors were encountered: