@Test
public void testTraceRecordAtomic() {

    AtomicSupport store = getStore();
    try {
        setupGraph(store);
        AtomicOperation atomic = store.startAtomicOperation();
        Map<String, Set<Long>> incoming = Operations.traceRecordAtomic(2,
                Time.NONE, atomic);
        Assert.assertEquals(
                ImmutableMap.of("foo", ImmutableSet.of(1L, 4L), "bar",
                        ImmutableSet.of(3L), "baz", ImmutableSet.of(3L)),
                incoming);
    }
    finally {
        store.stop();
    }
}