private static class LocalAsyncRemoteDatastoreFactory implements DatastoreFactory {
@Override
public NigoriDatastore makeDatastore() throws UnsupportedEncodingException,
NigoriCryptographyException, IOException {
return new LocalAsyncRemoteSyncingNigoriDatastore(new CryptoNigoriDatastore(
AcceptanceTests.HOST, AcceptanceTests.PORT, AcceptanceTests.PATH),
new CryptoNigoriDatastore(AcceptanceTests.HOST, AcceptanceTests.PORT,
AcceptanceTests.PATH));
}