@Test
public void testNewMetadataNotWrittenBeforeCommitted() throws Exception {

  ContentMetadataMutations mutations = new ContentMetadataMutations();
  mutations.set("metadata name", "value");
  assertThat(contentMetadata.get("metadata name", "default value")).isEqualTo("default value");
}