@Test public void testGetPrincipalType() throws Exception { LdapSyncSpecEntity entity = new LdapSyncSpecEntity(LdapSyncSpecEntity.PrincipalType.USERS, LdapSyncSpecEntity.SyncType.ALL, Collections.<String>emptyList()); Assert.assertEquals(LdapSyncSpecEntity.PrincipalType.USERS, entity.getPrincipalType()); entity = new LdapSyncSpecEntity(LdapSyncSpecEntity.PrincipalType.GROUPS, LdapSyncSpecEntity.SyncType.ALL, Collections.<String>emptyList()); Assert.assertEquals(LdapSyncSpecEntity.PrincipalType.GROUPS, entity.getPrincipalType()); }
public PrincipalType getPrincipalType() { return principalType; }
LdapSyncSpecEntity { public PrincipalType getPrincipalType() { return principalType; } }
LdapSyncSpecEntity { public PrincipalType getPrincipalType() { return principalType; } LdapSyncSpecEntity(PrincipalType principalType, SyncType syncType, List<String> principalNames); }
LdapSyncSpecEntity { public PrincipalType getPrincipalType() { return principalType; } LdapSyncSpecEntity(PrincipalType principalType, SyncType syncType, List<String> principalNames); PrincipalType getPrincipalType(); SyncType getSyncType(); List<String> getPrincipalNames(); }
LdapSyncSpecEntity { public PrincipalType getPrincipalType() { return principalType; } LdapSyncSpecEntity(PrincipalType principalType, SyncType syncType, List<String> principalNames); PrincipalType getPrincipalType(); SyncType getSyncType(); List<String> getPrincipalNames();  }