updating tests to reflect change of behavior introduced by fix to SPRNET-1582

This commit is contained in:
Steve Bohlen
2015-11-22 16:05:35 -05:00
parent 712d3f37a9
commit b283a6f34d

View File

@@ -183,6 +183,7 @@ namespace Spring.Pool
}
[Test, ExpectedException(typeof (PoolException))]
[Ignore("No longer expected behavior per SPRNET-1582 being resolved.")]
public void NoMoreUsableAfterClose()
{
object o = pool.BorrowObject();
@@ -195,7 +196,8 @@ namespace Spring.Pool
}
[Test, ExpectedException(typeof (PoolException))]
public void ThrowsExceptionWhenOutOfItemsBecauseFailedValidation()
[Ignore("No longer expected behavior per SPRNET-1582 being resolved.")]
public void ThrowsExceptionWhenOutOfItemsBecauseFailedValidation()
{
object o = new object();
Expect.Call(factory.MakeObject()).Return(o);