@Test
public void testToMetaData_shouldStoreIdInMap() throws Exception {

    ContextId contextId = new ContextId("idFromContextId");
    Map<String, String> metaData = contextId.toMetaData();
    assertThat(metaData, hasEntry("id", "idFromContextId"));
}