public void LogsEnter()
 {
     Log4NetTracingInterceptor logger = new Log4NetTracingInterceptor("app.config");
     string invocationId = "1234";
     object instance = "I'm an object";
     string method = "getData";
     IDictionary<string, object> parameters = new Dictionary<string, object>();
     string parametersLog = "{}";
     string expected =
         string.Format("DEBUG - invocationId: {0}\r\ninstance: {1}\r\nmethod: {2}\r\nparameters: {3}\r\n",
             invocationId, instance, method, parametersLog);
     logger.EnterMethod(invocationId, instance, method, parameters);
     Assert.Equal(expected, File.ReadAllText(logFileName));
 }
 public void LogsNullEnter()
 {
     Log4NetTracingInterceptor logger = new Log4NetTracingInterceptor("Microsoft.Rest.ClientRuntime.Tracing.Tests.dll.config");
     string invocationId = null;
     object instance = null;
     string method = null;
     IDictionary<string, object> parameters = null;
     string parametersLog = "{}";
     string expected =
         string.Format("DEBUG - invocationId: {0}\r\ninstance: {1}\r\nmethod: {2}\r\nparameters: {3}\r\n",
             invocationId, instance, method, parametersLog);
     logger.EnterMethod(invocationId, instance, method, parameters);
     Assert.Equal(expected, File.ReadAllText(logFileName));
 }