@Test
public void testFindFlowsVarSince() throws Exception {

    Flow flow = persistFlow("blah");
    Date d1 = flow.getCreationTime();
    Date d2 = new Date(d1.getTime() + 1L);
    testTransactionManager.commitTransaction();
    testTransactionManager.beginTransaction();
    List<Flow> flows = flowRepository.findFlows(new FlowFinderCriteria(d1, null, "test"));
    assertEquals(1, flows.size());
    assertTrue(flows.contains(flow));
    flows = flowRepository.findFlows(new FlowFinderCriteria(d1, null, "wrong"));
    assertEquals(0, flows.size());
    flows = flowRepository.findFlows(new FlowFinderCriteria(d2, null, "test"));
    assertEquals(0, flows.size());
}