@Test
public void testAsCannonicalStringObject() {

    Struct struct = new Struct();
    struct.append("long", Long.valueOf(100));
    struct.append("float", Float.valueOf(100f));
    final String check = SignUtils.asCanonicalString(struct);
    final String expected = "{\"float\":100.0,\"long\":100}";
    assertEquals(check, expected);
}