@Test
public void testHtmlProcessorOnPreVisitPolicy() {

    PolicySetType mockPolicySetType = Mockito.mock(PolicySetType.class);
    PolicyType mockPolicyType = Mockito.mock(PolicyType.class);
    List<Object> testList = new ArrayList<Object>();
    processor = new HtmlProcessor(temp, mockPolicySetType);
    when(mockPolicyType.getCombinerParametersOrRuleCombinerParametersOrVariableDefinition()).thenReturn(testList);
    when(mockPolicySetType.getDescription()).thenReturn(null);
    CallbackResult preResult = processor.onPreVisitPolicy(mockPolicySetType, mockPolicyType);
    assertEquals("CONTINUE", preResult.name());
    verify(mockPolicyType, atLeast(1)).getCombinerParametersOrRuleCombinerParametersOrVariableDefinition();
    verify(mockPolicyType, atLeast(1)).getDescription();
}