@Test
public void testAsCanonicalStringSignedPolicyData() {

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