@@ -0,0 +1,1690 @@
+package org.flymine.objectstore;%0A%0Aimport junit.framework.TestCase;%0A%0Aimport java.util.List;%0A%0Aimport org.flymine.objectstore.query.Query;%0Aimport org.flymine.objectstore.query.Results;%0Aimport org.flymine.sql.query.ExplainResult;%0A%0Apublic class ObjectStoreAbstractImplTest extends TestCase%0A%7B%0A    public ObjectStoreAbstractImplTest(String arg) %7B%0A        super(arg);%0A    %7D%0A%0A    private ObjectStoreTestImpl os;%0A%0A    public void setUp() throws Exception %7B%0A        os = new ObjectStoreTestImpl();%0A        os.maxOffset = 20;%0A        os.maxLimit = 10;%0A    %7D%0A%0A%0A    public void testCheckOffsetLimit() throws Exception %7B%0A%0A        try %7B%0A            os.checkOffsetLimit(30,5);%0A            fail(%22Expected ObjectStoreLimitReachedException%22);%0A        %7D catch (ObjectStoreLimitReachedException e) %7B%0A        %7D%0A        try %7B%0A            os.checkOffsetLimit(10,15);%0A            fail(%22Expected ObjectStoreLimitReachedException%22);%0A        %7D catch (ObjectStoreLimitReachedException e) %7B%0A        %7D%0A%0A    %7D%0A%0A    /**%0A     * Implementation of the abstract class ObjectStoreAbstractImpl for test purposes%0A     */%0A    protected class ObjectStoreTestImpl extends ObjectStoreAbstractImpl %7B%0A        protected ObjectStoreTestImpl() %7B%0A        %7D%0A%0A        public Results execute(Query q) throws ObjectStoreException %7B%0A            return null;%0A        %7D%0A%0A        public List execute(Query q, int start, int end) throws ObjectStoreException %7B%0A            return null;%0A        %7D%0A%0A        public ExplainResult estimate(Query q) throws ObjectStoreException %7B%0A            return null;%0A        %7D%0A        public ExplainResult estimate(Query q, int start, int end) throws ObjectStoreException %7B%0A            return null;%0A        %7D%0A    %7D%0A%0A%0A%7D%0A

Test class for ObjectStoreAbstractImpl. Has a blank inner class and just tests the methods in ObjectStoreAbstractImpl