### Question:
StartedTxBasedLoadMonitor implements DatabaseLoadMonitor { @Override public long getLoad() { runningWindowAverage.sample(System.currentTimeMillis(), txCounters.getNumberOfStartedTransactions()); return runningWindowAverage.getAverage(); } StartedTxBasedLoadMonitor(GraphDatabaseService database, RunningWindowAverage runningWindowAverage); @Override long getLoad();  }### Answer:
@Test public void readTransactionsShouldBeMonitored() throws InterruptedException { assertEquals(TimingStrategy.UNKNOWN, loadMonitor.getLoad()); for (int i = 0; i < 10; i++) { try (Transaction tx = database.beginTx()) { tx.success(); } Thread.sleep(1); assertTrue(loadMonitor.getLoad() > 0); } assertTrue(loadMonitor.getLoad() > 0); }