using System;
using Spring.Transaction;
using NUnit.Framework;

namespace Spring.Transaction
{
	[TestFixture]
	public class InvalidTimeoutExceptionTests
	{
		[Test]
		public void TimeoutGetter()
		{
			InvalidTimeoutException ex = new InvalidTimeoutException( "bad timeout", 2000 );
			Assert.IsTrue( 2000 == ex.Timeout );
		}
	}
}
