@@ -0,0 +1,1319 @@
+package org.ovirt.engine.ui.uicommonweb;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.Arrays;%0A%0Aimport junit.framework.Assert;%0A%0Aimport org.junit.Test;%0A%0Apublic class LinqTest %7B%0A    @Test%0A    public void intersection() %7B%0A        Assert.assertNotNull(Linq.Intersection(new ArrayList%3CArrayList%3CString%3E%3E()));%0A        Assert.assertTrue(Linq.Intersection(new ArrayList%3CArrayList%3CString%3E%3E()).isEmpty());%0A%0A        Assert.assertNotNull(Linq.Intersection(null));%0A        Assert.assertTrue(Linq.Intersection(null).isEmpty());%0A%0A        ArrayList%3CArrayList%3CString%3E%3E lists = new ArrayList%3CArrayList%3CString%3E%3E();%0A        lists.add(new ArrayList%3CString%3E(Arrays.asList(%22A%22, %22B%22, %22C%22)));%0A        lists.add(new ArrayList%3CString%3E(Arrays.asList(%22C%22, %22D%22, %22E%22)));%0A        Assert.assertNotNull(Linq.Intersection(lists));%0A        Assert.assertFalse(Linq.Intersection(lists).isEmpty());%0A        Assert.assertTrue(Linq.Intersection(lists).contains(%22C%22));%0A        Assert.assertFalse(Linq.Intersection(lists).contains(%22A%22));%0A%0A        lists = new ArrayList%3CArrayList%3CString%3E%3E();%0A        lists.add(new ArrayList%3CString%3E(Arrays.asList(%221%22, %222%22, %223%22)));%0A        lists.add(new ArrayList%3CString%3E(Arrays.asList(%22A%22, %22B%22, %22C%22)));%0A        Assert.assertNotNull(Linq.Intersection(lists));%0A        Assert.assertTrue(Linq.Intersection(null).isEmpty());%0A%0A    %7D%0A%7D%0A

test for Linq.Intersection