return ms;
return effs;
  protected static Membership getEff(    GrouperSession s, Group g, Subject subj, String list, int depth, Group via  )  {    String msg = "getEff: ";    LOG.debug(msg);    try {      Field       f   = FieldFinder.find(list);      Member      m   = MemberFinder.findBySubject(s, subj);      Membership  ms  = MembershipFinder.findEffectiveMembership(        s, g, subj, f, via, depth      );      Assert.assertNotNull(msg + "found ms", ms);      Assert.assertTrue(msg + "ms group   " , ms.getGroup().equals(g) );      Assert.assertTrue(msg + "ms member"   , ms.getMember().equals(m));      Assert.assertTrue(msg + "ms list"     , ms.getList().equals(f)  );      Assert.assertTrue(msg + "ms depth"    , ms.getDepth() == depth  );      try {        Group v = ms.getViaGroup();        Assert.assertTrue(msg + "ms via group", v.equals(via));      }      catch (GroupNotFoundException eGNF) {        Assert.fail(msg + "eff ms has no via group");      }      return ms;    }    catch (Exception e) {      Assert.fail("eff mship not found: " + e.getMessage());    }    throw new RuntimeException("eff mship not found");  } // protected static Membership getImm(s, g, subj, list, depth, via)