コード例 #1
0
 public void ThrowsException_WhenTypeImplementsNoInterfaces()
 {
     Assert.Throws <ArgumentException>(() => {
         _registrar.RegisterAsImplementedInterfaces(typeof(ClassWithNoInterface));
     });
 }