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