@Test
public void testHtmlProcessorPolicy() {

    PolicySetType mockPolicySetType = Mockito.mock(PolicySetType.class);
    PolicyType mockPolicyType = Mockito.mock(PolicyType.class);
    processor = new HtmlProcessor(temp, mockPolicySetType);
    when(mockPolicyType.getRuleCombiningAlgId()).thenReturn(null);
    when(mockPolicyType.getPolicyId()).thenReturn(null);
    when(mockPolicyType.getVersion()).thenReturn(null);
    when(mockPolicyType.getTarget()).thenReturn(null);
    processor.policy(mockPolicyType);
    verify(mockPolicyType).getRuleCombiningAlgId();
    verify(mockPolicyType).getPolicyId();
    verify(mockPolicyType).getVersion();
    verify(mockPolicyType).getTarget();
}