key = new ActivationKey("actkey", owner);
key.setId("keyid");
MultivaluedMap<String, String> mvm = new MultivaluedMapImpl<String, String>();
mvm.add("activation_key_id", key.getId());
when(context.getPathParameters()).thenReturn(mvm);
akcor = new ActivationKeyContentOverrideResource(
activationKeyContentOverrideCurator, akc, contentOverrideValidator, i18n);
when(akc.verifyAndLookupKey(eq(key.getId()))).thenReturn(key);
when(principal.canAccess(any(Object.class), any(SubResource.class),
any(Access.class))).thenReturn(true);
}