searchFor("org.sonatype.plexus", 1, group.getId()); // snapshots is member of public
searchFor("org.sonatype.test-evict", 1, "apache-snapshots"); // is in this repo
searchFor("org.sonatype.test-evict", 0, group.getId()); // apache-snapshots not a member
// reconfigure group: remove snapshots
group.removeMemberRepositoryId(snapshots.getId());
nexusConfiguration().saveConfiguration();
waitForTasksToStop();
wairForAsyncEventsToCalmDown();
// assure context does exists (if Igor comments out few lines or so, as MI will plainly swallow targeted search