public void CanCreateFile()
        {
            var filepath = new LoggingService().CreateLog();
            var fileExists = File.Exists(filepath);

            filepath.Should().NotBeNull();
            Assert.IsTrue(fileExists);
        }
 /// <summary>
 /// Called when an exception happens.
 /// </summary>
 public override void OnException(HttpActionExecutedContext exceptionContext)
 {
     LoggingService logger = new LoggingService();
     logger.LogException(exceptionContext.Exception);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthenticationController"/> class.
 /// </summary>
 public AuthenticationController(ILoginSettingsService loginSettingsService, LoggingService loggingService, IRefreshTokenManager refreshTokenManager)
 {
     _loginSettingsService = loginSettingsService;
     _loggingService = loggingService;
     _refreshTokenManager = refreshTokenManager;
 }