@@ -0,0 +1,1595 @@
+/*%0A * Copyright 2010-2011 Ning, Inc.%0A *%0A * Ning licenses this file to you under the Apache License, version 2.0%0A * (the %22License%22); you may not use this file except in compliance with the%0A * License.  You may obtain a copy of the License at:%0A *%0A *    http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the%0A * License for the specific language governing permissions and limitations%0A * under the License.%0A */%0A%0Apackage com.ning.billing.entitlement.api.migration;%0A%0Aimport org.testng.annotations.Test;%0A%0Aimport com.google.inject.Guice;%0Aimport com.google.inject.Injector;%0Aimport com.google.inject.Stage;%0Aimport com.ning.billing.entitlement.glue.MockEngineModuleMemory;%0A%0Apublic class TestMigrationMemory extends TestMigration %7B%0A    @Override%0A    protected Injector getInjector() %7B%0A        return Guice.createInjector(Stage.DEVELOPMENT, new MockEngineModuleMemory());%0A    %7D%0A%0A    @Test(enabled=true, groups=%22sql%22)%0A    public void testSingleBasePlan() %7B%0A        invokeRealMethod(this);%0A    %7D%0A%0A    @Test(enabled=true, groups=%22sql%22)%0A    public void testSingleBasePlanFutureCancelled() %7B%0A        invokeRealMethod(this);%0A    %7D%0A%0A    @Test(enabled=true, groups=%22sql%22)%0A    public void testSingleBasePlanWithPendingPhase() %7B%0A        invokeRealMethod(this);%0A    %7D%0A%0A    @Test(enabled=true, groups=%22sql%22)%0A    public void testSingleBasePlanWithPendingChange() %7B%0A        invokeRealMethod(this);%0A    %7D%0A%7D%0A

Add in memory test for migartion