assertEquals("remaining-override", remaining.get(0).getName());
}
@Test
public void testRemoveByContentLabel() {
activationKeyContentOverrideCurator.create(new ActivationKeyContentOverride(key,
"test-repo", "gpgcheck", "1"));
activationKeyContentOverrideCurator.create(new ActivationKeyContentOverride(key,
"test-repo", "foo", "foo-v"));
activationKeyContentOverrideCurator.create(new ActivationKeyContentOverride(key,
"should-remain", "remaining", "true"));
activationKeyContentOverrideCurator.removeByContentLabel(key, "test-repo");
List<ActivationKeyContentOverride> remaining =
activationKeyContentOverrideCurator.getList(key);
assertEquals(1, remaining.size());