public void AddResolvedPlaceholders_ThrowsIfConfigBuilderNull()
        {
            // Arrange
            IConfigurationBuilder configurationBuilder = null;

            // Act and Assert
            var ex = Assert.Throws <ArgumentNullException>(() => IConfigurationBuilderExtensions.AddResolvedPlaceholders(configurationBuilder));

            Assert.Contains(nameof(configurationBuilder), ex.Message);
        }
        public void AddAmazonElasticBeanstalk_Appends_New_ConfigurationSource()
        {
            // Arrange
            var mockBuilder = new Mock <IConfigurationBuilder>();

            // Act
            var result = IConfigurationBuilderExtensions.AddAmazonElasticBeanstalk(mockBuilder.Object);

            // Assert
            mockBuilder.Verify(e => e.Add(It.IsAny <IConfigurationSource>()), Times.Once);
        }
        public void AddAmazonElasticBeanstalk_Returns_Original_Builder()
        {
            // Arrange
            var mockBuilder = new Mock <IConfigurationBuilder>();

            // Act
            var result = IConfigurationBuilderExtensions.AddAmazonElasticBeanstalk(mockBuilder.Object);

            // Assert
            result.ShouldBe(mockBuilder.Object);
        }