@Test
public void testHtmlProcessorOnPreVisitPolicySetNullParent() {

    PolicySetType mockPolicySetType = Mockito.mock(PolicySetType.class);
    PolicySetType mockPolicyParent = null;
    JAXBElement<?> mockElement = Mockito.mock(JAXBElement.class);
    List<JAXBElement<?>> testList = new ArrayList<JAXBElement<?>>();
    testList.add(mockElement);
    processor = new HtmlProcessor(temp, mockPolicySetType);
    when(mockPolicySetType.getPolicySetOrPolicyOrPolicySetIdReference()).thenReturn(testList);
    when(mockPolicySetType.getDescription()).thenReturn("");
    CallbackResult preResult = processor.onPreVisitPolicySet(mockPolicyParent, mockPolicySetType);
    assertEquals("CONTINUE", preResult.name());
    verify(mockPolicySetType, atLeast(1)).getPolicySetOrPolicyOrPolicySetIdReference();
    verify(mockPolicySetType, atLeast(1)).getDescription();
}