employs mocking of Setting
improves code understandability