assertFalse(batchInserter.getAllNodes().iterator().hasNext());
}
@Test
public void shouldReturnAllNodesFromTheDatabase() {
batchInserter = new TransactionSimulatingBatchInserterImpl(BatchInserters.inserter(temporaryFolder.getRoot().getAbsolutePath()));
batchInserter.createNode(Collections.<String, Object>singletonMap("name", "One"));
batchInserter.createNode(Collections.<String, Object>singletonMap("name", "Two"));
Iterable<Long> allNodes = batchInserter.getAllNodes();