public void UseConfig_InvalidConfigKey_ReturnsNull()
        {
            var fakestartup   = new FakeStartup();
            var configuration = fakestartup.Configuration;
            var param_key     = "InvalidKeyNotInUserSecrets";

            var returned = configuration[param_key];

            Assert.Null(returned);
        }
        public void UseConfig_ValidConfigKey_ReturnsExpectedConfigValue()
        {
            var fakestartup   = new FakeStartup();
            var configuration = fakestartup.Configuration;
            var expected      = "TestValue"; // a real config value in secrets.json
            var param_key     = "TestKey";   // a real config key in secrets.json

            var actual = configuration[param_key];

            Assert.Equal(expected, actual);
        }
        public void InitFakeStartup_DefaultConstructorCall_ReturnsInstance()
        {
            var fakestartup = new FakeStartup();

            Assert.NotNull(fakestartup);
        }