public class CameraListTest {
@Test
public void test() {
CameraList list = new CameraList();
assertEquals(0, list.size());
list.add(new CameraEntry("Foo", "Bar"));
list.add(new CameraEntry("A", "B"));
list.add(new CameraEntry("X", "Z"));
assertEquals(3, list.size());
list.sort();
assertEquals("A", list.get(0).getName());
assertEquals("B", list.get(0).getValue());