assertEquals("value2", ccoList.get(0).getValue());
}
@Test
public void testAddOrUpdateCreatesNew() {
ConsumerContentOverride cco1 = new ConsumerContentOverride(
consumer, "test-content1", "name1", "value");
consumerContentOverrideCurator.create(cco1);
ConsumerContentOverride cco2 = new ConsumerContentOverride(
consumer, "test-content2", "name2", "value2");
consumerContentOverrideCurator.addOrUpdate(consumer, cco2);
List<ConsumerContentOverride> ccoList = consumerContentOverrideCurator.listAll();
assertEquals(2, ccoList.size());