@Test
public void testGetFlowByIdWhenExists() {

    final FlowEntity flow = metadataService.getFlowById("1");
    assertNotNull(flow);
    assertEquals("1", flow.getId());
    assertEquals("1", flow.getBucketId());
}