Is there an easy way to mock UrlResolver class? I pass it as a parameter to the constructor.
public Service(UrlResolver urlResolver){
_urlResolver = urlResolver;
}
EDIT: According to Henrik N. comment, this issue had been addressed in EpiServer 8.
But until I have an EpiServer 8 in my solution I will use custom interface + adapter.