@Test public void testCheckConditionShouldReturnFalseWhenRequestWhatWeDoNotExpect() { given(paramList.getAllParameters()).willReturn(params); given(request.getRequestLine()).willReturn("PUSH BLAH"); boolean actual = underTest.checkCondition(request, paramList); assertFalse(actual); }
@Override public boolean checkCondition(final WilmaHttpRequest request, final ParameterList parameterList) { return isExpectedMethod(MethodEnum.GET, request.getRequestLine()); }
GetMethodChecker extends MethodCheckOperator implements ConditionChecker { @Override public boolean checkCondition(final WilmaHttpRequest request, final ParameterList parameterList) { return isExpectedMethod(MethodEnum.GET, request.getRequestLine()); } }
GetMethodChecker extends MethodCheckOperator implements ConditionChecker { @Override public boolean checkCondition(final WilmaHttpRequest request, final ParameterList parameterList) { return isExpectedMethod(MethodEnum.GET, request.getRequestLine()); }  }
GetMethodChecker extends MethodCheckOperator implements ConditionChecker { @Override public boolean checkCondition(final WilmaHttpRequest request, final ParameterList parameterList) { return isExpectedMethod(MethodEnum.GET, request.getRequestLine()); }  @Override boolean checkCondition(final WilmaHttpRequest request, final ParameterList parameterList); }
GetMethodChecker extends MethodCheckOperator implements ConditionChecker { @Override public boolean checkCondition(final WilmaHttpRequest request, final ParameterList parameterList) { return isExpectedMethod(MethodEnum.GET, request.getRequestLine()); }  @Override boolean checkCondition(final WilmaHttpRequest request, final ParameterList parameterList);  }