@Test
public void contains() throws Exception {

    RoundRobinLoadBalancedList<String> list = new RoundRobinLoadBalancedList<String>();
    // add two items
    list.set("Item1", 1);
    list.set("Item2", 1);
    Assert.assertEquals(true, list.contains("Item1"));
    Assert.assertEquals(true, list.contains("Item2"));
    Assert.assertEquals(false, list.contains("Item3"));
}