assertTrue(serverStream.getItemSize() == 2);
}
@Test
public void testAddItemIPlayItemInt() {
SimplePlayItem item = SimplePlayItem.build("f1");
serverStream.addItem(item);
SimplePlayItem item2 = SimplePlayItem.build("f2");
serverStream.addItem(item2);
SimplePlayItem item3 = SimplePlayItem.build("f3");
serverStream.addItem(item3, 0);
System.out.println("Items: " + ((ServerStream) serverStream).getItems());
assertTrue(serverStream.getItemSize() == 3);
assertTrue("f1".equals(serverStream.getItem(1).getName()));
}