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