Esempio n. 1
0
 public void CanCreateWithoutApplicationName()
 {
     var memoryErrorLog = new MemoryErrorLog(new Hashtable());
     Assert.Equal(string.Empty, memoryErrorLog.ApplicationName);
 }
Esempio n. 2
0
 static MemoryErrorLog Resetting(MemoryErrorLog log)
 {
     log.Reset();
     return log;
 }
Esempio n. 3
0
 public void CanSetApplicationName()
 {
     var applicationName = "MyApp";
     var hashtable = new Hashtable {{"applicationName", applicationName}};
     var memoryErrorLog = new MemoryErrorLog(hashtable);
     Assert.Equal(applicationName, memoryErrorLog.ApplicationName);
 }