@@ -0,0 +1,897 @@
+package com.alvazan.test.orm.layer3.spi.index.inmemory;%0A%0Aimport java.util.Arrays;%0Aimport java.util.HashMap;%0Aimport java.util.List;%0Aimport java.util.Map;%0A%0Aimport org.junit.Test;%0A%0Aimport com.alvazan.orm.layer3.spi.index.IndexAdd;%0Aimport com.alvazan.orm.layer3.spi.index.IndexReaderWriter;%0Aimport com.alvazan.orm.layer3.spi.index.inmemory.MemoryIndexWriter;%0A%0A/**%0A * %0A * @author Brian%0A * %0A */%0Apublic class MemoryIndexWriterTest %7B%0A    @Test%0A    public void test() %7B%0A        MemoryIndexWriter writer = new MemoryIndexWriter();%0A        Map%3CString, List%3CIndexAdd%3E%3E addToIndex = new HashMap%3CString, List%3CIndexAdd%3E%3E();%0A        IndexAdd indexAdd = new IndexAdd();%0A        Map%3CString, String%3E map = new HashMap%3CString, String%3E();%0A        map.put(IndexReaderWriter.IDKEY, %221%22);%0A        indexAdd.setItem(map);%0A        addToIndex.put(%22key%22, Arrays.asList(indexAdd));%0A        writer.sendAdds(addToIndex);%0A    %7D%0A%7D%0A

add unit test for MemoryIndexWriter