protected static void testImmMship(GrouperSession s, Group g, Subject subj, Field f) { try { Membership  ms  = MembershipFinder.findImmediateMembership(s, g, subj, f); Assert.assertTrue("imm mship found", true); } catch (MembershipNotFoundException eMNF) { Assert.fail( "imm membership not found: '" + g.getName() + "/" + subj.getName() + "/" + f.getName() + "'" ); } }
protected static void testImmMship(GrouperSession s, Group g, Group m, Field f) { testImmMship(s, g, m.toSubject(), f); }
  protected static void testImmMship(GrouperSession s, Group g, Subject subj, Field f) {    try {      Membership  ms  = MembershipFinder.findImmediateMembership(s, g, subj, f);      Assert.assertTrue("imm mship found", true);    }    catch (MembershipNotFoundException eMNF) {      Assert.fail(        "imm membership not found: '" + g.getName() + "/" + subj.getName()         + "/" + f.getName() + "'"      );    }  } // protected static void testImmMship(s, g, subj, f)