public void can_read_settings() { _settings.Build(_ => { _.AddJsonFile("appsettings.json"); }); var settings = _settings.Get <MySettings>(); settings.SomeSetting.ShouldBe(1); }