unit test fix take 2

This commit is contained in:
zzz
2014-08-21 15:01:15 +00:00
parent d0b0e6a58e
commit 4f9e13d0f6

View File

@ -66,8 +66,8 @@ public class FragmentTest {
try {
pre.preprocessQueue(messages, new SenderImpl(), receiver);
fail("should have thrown IAE");
} catch (IllegalArgumentException expected){}
fail("should have thrown UOE");
} catch (UnsupportedOperationException expected){}
}
/**
@ -89,8 +89,8 @@ public class FragmentTest {
try {
pre.preprocessQueue(messages, new SenderImpl(), receiver);
fail("should have thrown IAE");
} catch (IllegalArgumentException expected){}
fail("should have thrown UOE");
} catch (UnsupportedOperationException expected){}
}
/**