Exemplo n.º 1
0
 @SuppressWarnings("ResultOfMethodCallIgnored")
 @Test(expected = IllegalArgumentException.class)
 public void testEx03() {
   UnmodIterable.toString("Oops", null);
 }
Exemplo n.º 2
0
 @SuppressWarnings("ResultOfMethodCallIgnored")
 @Test(expected = IllegalArgumentException.class)
 public void testEx02() {
   UnmodIterable.toString(null, Arrays.asList(1, 2, 3));
 }