@Test
public void fromFieldValue_primitive() {

    BdioContext context = DEFAULT_CONTEXT;
    // Primitives flow through
    assertThat(context.fromFieldValue("test", ImmutableMap.of("@value", "test"))).isEqualTo("test");
    assertThat(context.fromFieldValue("test", ImmutableMap.of("@value", Boolean.TRUE))).isEqualTo(Boolean.TRUE);
    assertThat(context.fromFieldValue("test", ImmutableMap.of("@value", Integer.valueOf(1)))).isEqualTo(Integer.valueOf(1));
}