Exemple #1
0
 public void ConstructorThrowsIfArgumentIsNull()
 {
     Assert.Throws <ArgumentNullException>(() =>
     {
         var _ = new ReflectionDispatcher(null);
     });
 }
Exemple #2
0
 public void AssemblyPropertyThrowsOnNullAssignment()
 {
     Assert.Throws <ArgumentNullException>(() =>
     {
         var _ = new ReflectionDispatcher {
             Assembly = null
         };
     });
 }