@Test
public void testNext() {

    assertEquals(new Long(1L), wtx(tx -> getSequences().next(tx, "seq1")));
    assertEquals(new Long(2L), wtx(tx -> getSequences().next(tx, "seq1")));
    assertEquals(new Long(1L), wtx(tx -> getSequences().next(tx, "seq2")));
    assertEquals(new Long(2L), wtx(tx -> getSequences().next(tx, "seq2")));
    assertEquals(new Long(3L), wtx(tx -> getSequences().next(tx, "seq2")));
}