@Test
public void testAllNotSuccess() {

    List<ListenableFuture<Boolean>> responses = Lists.newArrayList(Futures.<Boolean> immediateFuture(Boolean.FALSE), Futures.<Boolean> immediateFuture(Boolean.FALSE), Futures.<Boolean> immediateFuture(Boolean.FALSE));
    ListenableFuture<Boolean> collector = majorityResponse(responses, Identity);
    assertFalse(Futures.getUnchecked(collector));
}