public void when_pipe_fitter_set_it_should_be_set_in_configuration()
        {
            var configuration = new EgressApiConfiguration();
            var sut           = new EgressApiConfigurator(configuration);

            sut.WithPipeFitter <StabPipeFitter>().Should().BeSameAs(sut);
            configuration.PipeFitterType.Should().Be <StabPipeFitter>();
        }
        public void when_pipe_fitter_set_more_than_once_it_should_fail()
        {
            var    configuration = new EgressApiConfiguration();
            var    configurator  = new EgressApiConfigurator(configuration);
            Action sut           = () => configurator.WithPipeFitter <StabPipeFitter>();

            sut.Should().NotThrow();
            configuration.PipeFitterType.Should().Be <StabPipeFitter>();
            EnsureSecondCallOfConfigurationMethodFails(sut);
        }