@Test
public void shouldReturnStreamId() throws Exception {

    assertThat(metadata.streamId().isPresent(), is(true));
    assertThat(metadata.streamId().get(), equalTo(UUID.fromString(UUID_STREAM_ID)));
}