@Test
public void testAsCanonicalStringPolicyData() {

    Mockito.when(mockPolicy.getPolicies()).thenReturn(null);
    
    String check = SignUtils.asCanonicalString(mockPolicy);
    assertNotNull(check);
    assertEquals(check,"{\"policies\":[]}");
}