@Test
public void testFindMapping() throws Exception {

  StoragePath path = new StoragePath(ORG, MP_ID, new VersionImpl(1L), ASSET1_ID);
  database.storeMapping(path, "archive_path/" + ASSET1_ID, AWS_VERSION_1);
  AwsAssetMapping mapping = database.findMapping(path);
  Assert.assertNotNull(mapping);
  Assert.assertEquals("archive_path/" + ASSET1_ID, mapping.getObjectKey());
  Assert.assertEquals(AWS_VERSION_1, mapping.getObjectVersion());
  Assert.assertNull(mapping.getDeletionDate());
}