public void SetUp() { Matcher = new AssignableFromConstraint(typeof(D1)); GoodValues = new object[] { new D1(), new B() }; BadValues = new object[] { new D2() }; Description = "Type assignable from <NUnit.Framework.Constraints.Tests.D1>"; }
public void SetUp() { theConstraint = new AssignableFromConstraint(typeof(D1)); expectedDescription = string.Format("assignable from <{0}>", typeof(D1)); stringRepresentation = string.Format("<assignablefrom {0}>", typeof(D1)); }