@@ -0,0 +1,1008 @@
+package uk.gov.verifiablelog.merkletree;%0A%0Aimport org.junit.Test;%0A%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.hamcrest.core.Is.is;%0Aimport static org.quicktheories.quicktheories.QuickTheory.qt;%0Aimport static org.quicktheories.quicktheories.generators.SourceDSL.integers;%0Aimport static org.quicktheories.quicktheories.generators.SourceDSL.strings;%0A%0Aimport static uk.gov.verifiablelog.merkletree.TestUtil.*;%0A%0Apublic class InMemoryTests %7B%0A    @Test%0A    public void should_storeAllHashes() throws Exception %7B%0A        MemoizationStore inMemory = new InMemory();%0A%0A        qt().forAll(strings().numericBetween(10,11), integers().between(0, 20), integers().between(1, 21))%0A                .assuming((hash, leafIndex, size) -%3E leafIndex %3C size)%0A                .checkAssert((hash, leafIndex, size) -%3E %7B%0A                    inMemory.put(leafIndex, size, stringToBytes(hash));%0A                    assertThat(bytesToString(inMemory.get(leafIndex, size)), is(hash));%0A                %7D);%0A    %7D%0A%7D%0A

Add InMemory memoization store test