use of org.candlepin.model.activationkeys.ActivationKeyContentOverride in project candlepin by candlepin.
the class ActivationKeyContentOverrideResourceTest method testActivationKeyDeleteOverride.
@Test
public void testActivationKeyDeleteOverride() {
ActivationKeyContentOverride override = new ActivationKeyContentOverride(key, "label", "name", "test");
List<ContentOverride> toDelete = new LinkedList<>();
toDelete.add(override);
akcor.deleteContentOverrides(context, principal, toDelete);
verify(activationKeyContentOverrideCurator, Mockito.times(1)).removeByName(eq(key), eq(override.getContentLabel()), eq(override.getName()));
}
Aggregations