@Test
public void testPopulateFlowLinks() {

    flows.forEach(f -> Assert.assertNull(f.getLink()));
    linkService.populateLinks(flows);
    flows.forEach(f -> Assert.assertEquals(
            "buckets/" + f.getBucketIdentifier() + "/flows/" + f.getIdentifier(), f.getLink().getUri().toString()));
}