diff --git a/pom.xml b/pom.xml
index b2cd9f07..0e4c14f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@
com.amazonaws
aws-java-sdk
- 1.9.13
+ 1.10.41
@@ -53,7 +53,23 @@
1.50
test
+
+
+ com.amazonaws
+ DynamoDBLocal
+ 1.10.5.1
+ test
+
+
+
+
+
+ dynamodb-local
+ DynamoDB Local Release Repository
+ http://dynamodb-local.s3-website-us-west-2.amazonaws.com/release
+
+
diff --git a/src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/MostRecentProviderTests.java b/src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/MostRecentProviderTests.java
index 39412247..d7e8834b 100644
--- a/src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/MostRecentProviderTests.java
+++ b/src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/MostRecentProviderTests.java
@@ -30,7 +30,6 @@
import org.junit.Before;
import org.junit.Test;
-import com.amazonaws.services.dynamodb.mock.AmazonDynamoDBMock;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
import com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor;
import com.amazonaws.services.dynamodbv2.datamodeling.encryption.EncryptionContext;
@@ -41,6 +40,7 @@
import com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.SymmetricStaticProvider;
import com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore;
import com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.ProviderStore;
+import com.amazonaws.services.dynamodbv2.local.embedded.DynamoDBEmbedded;
import com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput;
public class MostRecentProviderTests {
@@ -61,7 +61,7 @@ public class MostRecentProviderTests {
@Before
public void setup() {
methodCalls = new HashMap();
- client = instrument(new AmazonDynamoDBMock(), AmazonDynamoDB.class, methodCalls);
+ client = instrument(DynamoDBEmbedded.create(), AmazonDynamoDB.class, methodCalls);
MetaStore.createTable(client, TABLE_NAME, new ProvisionedThroughput(1L, 1L));
store = new MetaStore(client, TABLE_NAME, ENCRYPTOR);
ctx = new EncryptionContext.Builder().build();
diff --git a/src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/store/MetaStoreTests.java b/src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/store/MetaStoreTests.java
index 2e5a9c90..ee162d59 100644
--- a/src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/store/MetaStoreTests.java
+++ b/src/test/java/com/amazonaws/services/dynamodbv2/datamodeling/encryption/providers/store/MetaStoreTests.java
@@ -27,7 +27,6 @@
import org.junit.Before;
import org.junit.Test;
-import com.amazonaws.services.dynamodb.mock.AmazonDynamoDBMock;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBMappingException;
import com.amazonaws.services.dynamodbv2.datamodeling.encryption.DynamoDBEncryptor;
@@ -38,6 +37,7 @@
import com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.SymmetricStaticProvider;
import com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.MetaStore;
import com.amazonaws.services.dynamodbv2.datamodeling.encryption.providers.store.ProviderStore;
+import com.amazonaws.services.dynamodbv2.local.embedded.DynamoDBEmbedded;
import com.amazonaws.services.dynamodbv2.model.ProvisionedThroughput;
public class MetaStoreTests {
@@ -56,7 +56,7 @@ public class MetaStoreTests {
@Before
public void setup() {
- client = synchronize(new AmazonDynamoDBMock(), AmazonDynamoDB.class);
+ client = synchronize(DynamoDBEmbedded.create(), AmazonDynamoDB.class);
MetaStore.createTable(client, TABLE_NAME, new ProvisionedThroughput(1L, 1L));
store = new MetaStore(client, TABLE_NAME, ENCRYPTOR);
ctx = new EncryptionContext.Builder().build();