@Test
public void putMultivaluedDataProperty() {

    BdioContext context = DEFAULT_CONTEXT;
    Map<String, Object> map = new LinkedHashMap<>();
    context.putFieldValue(map, Bdio.DataProperty.fingerprint, new Digest.Builder().algorithm("test").value("123").build());
    context.putFieldValue(map, Bdio.DataProperty.fingerprint, new Digest.Builder().algorithm("test").value("456").build());
    context.putFieldValue(map, Bdio.DataProperty.fingerprint, new Digest.Builder().algorithm("test").value("789").build());
    assertThat(map.get(Bdio.DataProperty.fingerprint.toString())).isInstanceOf(List.class);
    assertThat((List<?>) map.get(Bdio.DataProperty.fingerprint.toString())).containsExactly(
            ImmutableMap.of("@type", Bdio.Datatype.Digest.toString(), "@value", "test:123"),
            ImmutableMap.of("@type", Bdio.Datatype.Digest.toString(), "@value", "test:456"),
            ImmutableMap.of("@type", Bdio.Datatype.Digest.toString(), "@value", "test:789"));
}