@Test public void testGetPrincipalNames() throws Exception { List<String> names = new LinkedList<String>(); names.add("joe"); names.add("fred"); LdapSyncSpecEntity entity = new LdapSyncSpecEntity(LdapSyncSpecEntity.PrincipalType.USERS, LdapSyncSpecEntity.SyncType.SPECIFIC, names); Assert.assertEquals(names, entity.getPrincipalNames()); }
public List<String> getPrincipalNames() { return principalNames; }
LdapSyncSpecEntity { public List<String> getPrincipalNames() { return principalNames; } }
LdapSyncSpecEntity { public List<String> getPrincipalNames() { return principalNames; } LdapSyncSpecEntity(PrincipalType principalType, SyncType syncType, List<String> principalNames); }
LdapSyncSpecEntity { public List<String> getPrincipalNames() { return principalNames; } LdapSyncSpecEntity(PrincipalType principalType, SyncType syncType, List<String> principalNames); PrincipalType getPrincipalType(); SyncType getSyncType(); List<String> getPrincipalNames(); }
LdapSyncSpecEntity { public List<String> getPrincipalNames() { return principalNames; } LdapSyncSpecEntity(PrincipalType principalType, SyncType syncType, List<String> principalNames); PrincipalType getPrincipalType(); SyncType getSyncType(); List<String> getPrincipalNames();  }