public void CantAssertNotAssignable2() { NUnit.Framework.Assert.Throws <AssertionException>( () => Assert.IsAssignable(new SuperClass(), typeof(SubClass))); }
public void CanAssertAssignable() { Assert.IsAssignable(new SubClass(), typeof(SuperClass)); }