package gw.integration.document.production.smartcomms uses com.guidewire.pc.system.dependency.PCDependencies /** * Static helper to get {@link SmartCommsConfiguration} */ class SmartCommsConfigurationProvider { static var _testConfiguration: SmartCommsConfiguration public static property get Configuration(): SmartCommsConfiguration { if (_testConfiguration != null) { return _testConfiguration } return PCDependencies.getIntegrationConfigurationCache().getConfiguration(entity.SmartCommsConfiguration.TYPE) } internal static function setConfigurationForTest(value: SmartCommsConfiguration) { _testConfiguration = value } }