public class GAETestCase {
LocalServiceTestHelper helper;
@Before
public void setUp() {
LocalDatastoreServiceTestConfig dsConfig = new LocalDatastoreServiceTestConfig();
LocalMemcacheServiceTestConfig mcConfig = new LocalMemcacheServiceTestConfig();
dsConfig.setBackingStoreLocation("C:\\local_db.bin");
// this needs to be false to persist, but in unit tests, why do so?
dsConfig.setNoStorage(true);
dsConfig.setDefaultHighRepJobPolicyUnappliedJobPercentage(0);
this.helper = new LocalServiceTestHelper(dsConfig, mcConfig).setUp();
}