@Test
public void fromFieldValue_identifier() {

    BdioContext context = DEFAULT_CONTEXT;
    // If the only value in the map is the identifier, it is safe to extract
    assertThat(context.fromFieldValue("test", ImmutableMap.of("@id", "test"))).isEqualTo("test");
    // This is important because if there are multiple values in the map, we can no longer just take the identifier
    assertThat(context.fromFieldValue("test", ImmutableMap.of("@id", "test", "foo", "bar"))).isEqualTo(ImmutableMap.of("@id", "test", "foo", "bar"));
}