    @Test
    public void testHandleCondition() throws Exception {

        Operation operation = mock(Operation.class);
        OperationId operationId = mock(OperationId.class);
         List<ConditionSegment> conditionSegments = new ArrayList<ConditionSegment>();

        when(operation.getOperationId()).thenReturn(operationId);
        when(operationId.getValue()).thenReturn(new String("test"));
        when(operation.getConditionSegment()).thenReturn(conditionSegments);

        conditionHandler.handleCondition(operation);
    }