@Test
@Parameters
public void testGetAsset(final AccessControlList acl, User user,
                         boolean assertAccess) throws Exception {

  // create a snapshot
  final Snapshot snapshot = createSnapshot(acl);
  // get an asset of the snapshot
  runWith(user, assertAccess, new P1Lazy<Unit>() {
    @Override public Unit get1() {
      assertTrue(am.getAsset(
          snapshot.getVersion(),
          snapshot.getMediaPackage().getIdentifier().toString(),
          snapshot.getMediaPackage().getElements()[0].getIdentifier()).isSome());
      return Unit.unit;
    }
  });
}