IsDifferentialExpressionAboveCutOff implements Predicate<X> { public IsDifferentialExpressionAboveCutOff<X> setPValueCutoff(double pValueCutOff) { this.pValueCutOff = pValueCutOff; return this; }  @Override boolean test(X differentialExpression); IsDifferentialExpressionAboveCutOff<X> setPValueCutoff(double pValueCutOff); IsDifferentialExpressionAboveCutOff<X> setFoldChangeCutOff(double foldChangeCutOff); IsDifferentialExpressionAboveCutOff<X> setRegulation(Regulation regulation);  }
@Test public void setPValueCutoff() { subject.setPValueCutoff(0.0001); assertThat(subject.test(EXPRESSION_1), is(false)); assertThat(subject.test(EXPRESSION_2), is(true)); }