@Test
public void testHtmlProcessorOnPreVisitPolicySet() {

    PolicySetType mockPolicySetType = Mockito.mock(PolicySetType.class);
    PolicySetType mockPolicyParent = Mockito.mock(PolicySetType.class);
    processor = new HtmlProcessor(temp, mockPolicySetType);
    when(mockPolicySetType.getPolicySetOrPolicyOrPolicySetIdReference()).thenReturn(Collections.emptyList());
    when(mockPolicySetType.getDescription()).thenReturn(null);
    CallbackResult preResult = processor.onPreVisitPolicySet(mockPolicyParent, mockPolicySetType);
    assertEquals("CONTINUE", preResult.name());
    verify(mockPolicySetType, atLeast(1)).getPolicySetOrPolicyOrPolicySetIdReference();
    verify(mockPolicySetType, atLeast(1)).getDescription();
}