assertThat(testObj.size(), equalTo(4));
}
@Test
public void testAddMixedList() {
OperationRepresentation opUnique1 = new OperationRepresentation();
opUnique1.setId(new GId("op3"));
OperationRepresentation opNonUnique2 = new OperationRepresentation();
opNonUnique2.setId(new GId("op1"));
List<OperationRepresentation> list = new LinkedList<OperationRepresentation>();
list.add(opUnique1);
list.add(opNonUnique2);
assertTrue(testObj.addAll(list)); //queue was changed, even if not all elements were added