@Test(expected = NullPointerException.class) public void shouldThrowANullPointerExceptionIfIterablePassedToNoneIsNull() throws Exception { noneof(null, alwaysTrue(String.class)); }
@Test(expected = NullPointerException.class) public void shouldThrowNullPointerExceptionIfPredicateSuppliedToNoneIsNull() throws Exception { noneof(of("a", "b", "c"), null); }