Пример #1
0
 public void registerNullThrows()
 {
     Assert.Throws <NullReferenceException>(() => UnityClientList.registerClient(null));
 }
Пример #2
0
 public void DuplicateClientAddedDNT()
 {
     Assert.DoesNotThrow(() => UnityClientList.registerClient(ts));
 }
Пример #3
0
 public void AssignsUniquIds()
 {
     Assert.False(UnityClientList.registerClient(ts).Equals(UnityClientList.registerClient(ts)));
 }
Пример #4
0
 public void Setup()
 {
     UnityClientList.registerClient(ts);
 }