SMPSettings implements ISMPSettings { public boolean isDirectoryIntegrationRequired () { return m_aSettings.getAsBoolean (SMPServerConfiguration.KEY_SMP_DIRECTORY_INTEGRATION_REQUIRED, SMPServerConfiguration.DEFAULT_SMP_DIRECTORY_INTEGRATION_REQUIRED); } SMPSettings(); @Nonnull ObjectType getObjectType(); @Nonnull @Nonempty String getID(); final void setToConfigurationValues(); boolean isRESTWritableAPIDisabled(); @Nonnull EChange setRESTWritableAPIDisabled(final boolean bRESTWritableAPIDisabled); boolean isDirectoryIntegrationRequired(); @Nonnull EChange setDirectoryIntegrationRequired(final boolean bPeppolDirectoryIntegrationRequired); boolean isDirectoryIntegrationEnabled(); @Nonnull EChange setDirectoryIntegrationEnabled(final boolean bPeppolDirectoryIntegrationEnabled); boolean isDirectoryIntegrationAutoUpdate(); @Nonnull EChange setDirectoryIntegrationAutoUpdate(final boolean bPeppolDirectoryIntegrationAutoUpdate); @Nonnull String getDirectoryHostName(); @Nonnull EChange setDirectoryHostName(@Nullable final String sDirectoryHostName); boolean isSMLRequired(); @Nonnull EChange setSMLRequired(final boolean bSMLRequired); boolean isSMLEnabled(); @Nonnull EChange setSMLEnabled(final boolean bSMLEnabled); @Nullable ISMLInfo getSMLInfo(); @Nullable @Override String getSMLInfoID(); @Nonnull EChange setSMLInfoID(@Nullable final String sSMLInfoID); @Nonnull @ReturnsMutableCopy SettingsWithDefault getAsSettings(); @Override String toString();  }
@Test public void testBasic () { final SMPSettings aSettings = new SMPSettings (); assertTrue (aSettings.isDirectoryIntegrationRequired ()); }