public void ProxyConverter() { var loggerMock = new Mock <ILogger <ProxyConverter> >(); var proxyConverter = new ProxyConverter(loggerMock.Object); var result = proxyConverter.GetProxyAsync(new Services.DTO.ProxyModel() { FullOriginal = new Uri("https://www.microsoft.com/") }); Assert.IsNotEmpty(result.Result); }