@Test
public void testIsLastUpdatedCompatibilityItemToPathMetadata()
    throws Exception {

  Item item = Mockito.spy(testDirItem);
  item.withLong(LAST_UPDATED, 100);
  PathMetadataDynamoDBTranslation.IGNORED_FIELDS.add(LAST_UPDATED);
  final String user =
      UserGroupInformation.getCurrentUser().getShortUserName();
  DDBPathMetadata meta = itemToPathMetadata(item, user);
  Mockito.verify(item, Mockito.never()).getLong(LAST_UPDATED);
  assertFalse(meta.isAuthoritativeDir());
}