@Test
public void testGetFlowByIdWithSnapshotCount() {

   final FlowEntity flowEntity = metadataService.getFlowByIdWithSnapshotCounts("1");
    assertNotNull(flowEntity);
    assertEquals(3, flowEntity.getSnapshotCount());
}