@Test
  public void selectFilter() {
    String[] list = new String[] {"platform.testuix2", "platform.testuix3"};
    List<UIExtension> expected = new ArrayList<UIExtension>();
    expected.add(testUix3valueX);
    expected.add(testUix2valueY);

    UIExtensionFilter filter = new SelectFilter();

    Assert.assertEquals(expected, filter.filter(extensions, list));
  }
  @Test
  public void excludeFilter() {
    String[] list = new String[] {"platform.testuix2", "platform.testuix3"};
    List<UIExtension> expected = new ArrayList<UIExtension>();
    expected.add(testUix6value11);
    expected.add(testUix1valueZ);
    expected.add(testUix5value1);
    expected.add(testUix4valueW);
    expected.add(testUix7value2);

    UIExtensionFilter filter = new ExcludeFilter();

    Assert.assertEquals(expected, filter.filter(extensions, list));
  }
  @Test
  public void sortByNameFilter() {
    List<UIExtension> expected = new ArrayList<UIExtension>();
    expected.add(testUix1valueZ);
    expected.add(testUix2valueY);
    expected.add(testUix3valueX);
    expected.add(testUix4valueW);
    expected.add(testUix5value1);
    expected.add(testUix6value11);
    expected.add(testUix7value2);

    UIExtensionFilter filter = new SortByIdFilter();

    Assert.assertEquals(expected, filter.filter(extensions));
  }