GroupMember extends ItemDocumentationSupport { public boolean matches(String fieldId) { String myId = getId(); if(myId != null) { return fieldId.startsWith(myId); } return false; }  boolean matches(String fieldId); boolean isSizeIndicator(); void setSizeIndicator(boolean sizeIndicator); @Override String toString();  }
@Test public void testMatches() { String id = "abc"; GroupMember gm = new GroupMember(); assertFalse(gm.matches(id)); gm.setId(id); assertTrue(gm.matches(id + "10")); assertFalse(gm.matches("10" + id)); }