def METHOD_NAME(self):
    self.db().add_log(LogDBTest.default_log)
    for i in range(4):
        sth = client_pb2.AuditedSth()
        sth.sth.timestamp = i
        sth.sth.sha256_root_hash = "hash-%d" % i
        self.db().store_sth(LogDBTest.default_log.log_server, sth)
    generator = self.db().scan_latest_sth_range("test", start=1, end=2)
    for i in range(2):
        sth = generator.next()
        self.assertEqual(sth.sth.timestamp, 2-i)
        self.assertEqual(sth.sth.sha256_root_hash, "hash-%d" % (2-i))
    self.assertRaises(StopIteration, generator.next)