public void WithCacheClient_ThrowsArgumentNullException_IfNullCacheClient()
        {
            var    appSettings = new CachedAppSettings(internalAppSetting);
            Action action      = () => appSettings.WithCacheClient(null);

            action.ShouldThrow <ArgumentNullException>();
        }
 public void WithCacheClient_ReturnsAppSettings() =>
 appSettings.WithCacheClient(cacheClient).Should().Be(appSettings);