{
InMemoryPathTrackingDataStore store = new InMemoryPathTrackingDataStore();
long now = System.nanoTime();
PathTrackingEntry entry =
new PathTrackingEntry( UUID.randomUUID().toString(), "nodeId", "className", "methodName", now, now + 1, 1 );
store.store( entry );
Map<String, Set<PathTrackingEntry>> all = store.getPathTrackingEntries();
Assert.assertNotNull( all );
Assert.assertEquals( 1, all.size() );
Assert.assertEquals( 1, all.entrySet().iterator().next().getValue().size() );
entry = all.entrySet().iterator().next().getValue().iterator().next();
Assert.assertEquals( "nodeId", entry.getNodeId() );
/*
we do not clear anymore entries pointer are freeing once sended
store.clearEntries();