you can probably tighten that up to just setup the should_receive expectations on all four and then call configure_proxy_environment_variables in one test.

this is an extremely thin system-under-test (SUT) though, and i'd probably drop all of that in favor of the tests below...