@Test
public void generateNamedGraphAllKeys() {

    BdioMetadata metadata = new BdioMetadata();
    metadata.put("test1", "foo");
    metadata.put("test2", "bar");
    assertThat(metadata.asNamedGraph(Lists.newArrayList("foobar"))).containsExactly(
            "test1", "foo",
            "test2", "bar",
            "@graph", Lists.newArrayList("foobar"));
}