예제 #1
0
 public void PositiveInheritedOOBInvariant()
 {
   var c = new DerivedOutOfBandC();
   c.ViolateBaseInvariant(true);
 }
예제 #2
0
 public void NegativeInheritedOOBInvariant()
 {
   var c = new DerivedOutOfBandC();
   Assert.Throws<TestRewriterMethods.InvariantException>(() => c.ViolateBaseInvariant(false));
 }
예제 #3
0
 public void NegativeInheritedOOBInvariant()
 {
   var c = new DerivedOutOfBandC();
   c.ViolateBaseInvariant(false);
 }