@Test public void test2() throws Throwable { fr.inria.diversify.sosie.logger.LogWriter.writeTestStart( 684, "org.apache.commons.collections4.functors.AndPredicateEvoSuiteTest.test2"); Predicate<Object> predicate0 = FalsePredicate.INSTANCE; Predicate<String> predicate1 = AndPredicate.andPredicate( (Predicate<? super String>) predicate0, (Predicate<? super String>) predicate0); assertNotNull(predicate1); }
@Test public void test1() throws Throwable { // Undeclared exception! fr.inria.diversify.sosie.logger.LogWriter.writeTestStart( 683, "org.apache.commons.collections4.functors.AndPredicateEvoSuiteTest.test1"); try { AndPredicate.andPredicate( (Predicate<? super Integer>) null, (Predicate<? super Integer>) null); fail("Expecting exception: IllegalArgumentException"); } catch (IllegalArgumentException e) { // // Predicate must not be null // } }
@Test public void test3() throws Throwable { fr.inria.diversify.sosie.logger.LogWriter.writeTestStart( 685, "org.apache.commons.collections4.functors.AndPredicateEvoSuiteTest.test3"); Predicate<Object> predicate0 = FalsePredicate.INSTANCE; // Undeclared exception! try { AndPredicate.andPredicate( (Predicate<? super String>) predicate0, (Predicate<? super String>) null); fail("Expecting exception: IllegalArgumentException"); } catch (IllegalArgumentException e) { // // Predicate must not be null // } }