@Test
public void testGetFlowSnapshot() {

    final FlowSnapshotEntity entity = metadataService.getFlowSnapshot( "1", 1);
    assertNotNull(entity);
    assertEquals("1", entity.getFlowId());
    assertEquals(1, entity.getVersion().intValue());
}