public void Describe_matcher() { var matcher = new Throws<ArgumentNullException>(); var description = new StringDescription(); matcher.DescribeTo(description); NHAssert.That(description.ToString(), Is.EqualTo("the block to throw an exception of type System.ArgumentNullException")); }
public void Describe_matcher() { var matcher = new Throws <ArgumentNullException>(); var description = new StringDescription(); matcher.DescribeTo(description); NHAssert.That(description.ToString(), Is.EqualTo("the block to throw an exception of type System.ArgumentNullException")); }