public void ShouldNotValidateSerializer()
        {
            // Given
            var configurator = new ClientConfigurator();

            // When, Then
            Assert.Throws <ArgumentNullException>(() => configurator.WithSerializer(null));
        }
        public void ShouldSetSerializer()
        {
            // Given
            var serializer   = new JilJsonSerializer(Options.Default);
            var configurator = new ClientConfigurator();

            // When
            configurator.WithSerializer(serializer);

            // Then
            Assert.Equal(serializer, configurator.ClientSettings.JsonSerializer);
        }