Ejemplo n.º 1
0
        public void GetExpectedExceptionType()
        {
            Type         expectedExceptionType = typeof(ArgumentException);
            RowAttribute row = CreateRowAttribute();

            row.ExpectedException = expectedExceptionType;

            Type extractedExpectedExceptionType = RowTestFramework.GetExpectedExceptionType(row);

            Assert.That(extractedExpectedExceptionType, Is.SameAs(expectedExceptionType));
        }