public void PositiveInheritedOOBInvariant() { var c = new DerivedOutOfBandC(); c.ViolateBaseInvariant(true); }
public void NegativeInheritedOOBInvariant() { var c = new DerivedOutOfBandC(); Assert.Throws<TestRewriterMethods.InvariantException>(() => c.ViolateBaseInvariant(false)); }
public void NegativeInheritedOOBInvariant() { var c = new DerivedOutOfBandC(); c.ViolateBaseInvariant(false); }