@Test
public void fromFieldValue_multiValueKey() {

    String exampleContext = "{\"@context\":{\"@vocab\":\"http://example.com/\",\"test2\":{\"@id\":\"http://example.com/test2\",\"@container\":\"@list\"}}}";
    BdioContext context = new BdioContext.Builder()
            .injectDocument("http://example.com/context", exampleContext)
            .expandContext("http://example.com/context")
            .build();
    assertThat(context.fromFieldValue("test", ImmutableList.of("foobar"))).isEqualTo("foobar");
    assertThat(context.fromFieldValue("test2", ImmutableList.of("foobar"))).isEqualTo(ImmutableList.of("foobar"));
    assertThat(context.fromFieldValue("test2", "foobar")).isEqualTo(ImmutableList.of("foobar"));
}