checkGroups(pm, new String[]{ "foo", "bar", "baz" });
fetch.addFetchGroup("a");
fetch.addFetchGroup("b");
fetch.addFetchGroup("c");
fetch.addFetchGroup("d");
checkGroups(pm, new String[]
{ "foo", "bar", "baz", "a", "b", "c", "d" });
fetch.removeFetchGroup("bar");
checkGroups(pm, new String[]{ "foo", "baz", "a", "b", "c", "d" });