public void CantAssertNotEqualType() { NUnit.Framework.Assert.Throws <AssertionException>( () => Assert.IsExactType(new SuperClass(), typeof(SubClass))); }
public void CanAssertIs() { Assert.IsExactType(new SuperClass(), typeof(SuperClass)); }