@Test
public void testProperties() {

    Map<String, String> map = new HashMap<>();
    map.put(KEY, VALUE);
    Claims.Builder builder = new Claims.Builder();
    builder.setProperties(map);
    Claims claims = builder.getResult();
    assertNotNull(claims.getProperties());
    assertEquals(1, claims.getProperties().size());
    assertEquals(VALUE, claims.getProperties().get(KEY));
}