public void TestGetNotInt()
        {
            fileSystem.ReadAllText("app.ini").Returns("x=a");

            var provider = new ApplicationReleaseConfiguration(fileSystem);

            Assert.AreEqual(null, provider.GetInt("x"));
        }
        public void TestCorrectFile()
        {
            fileSystem.ReadAllText("app.ini").Returns("abc=c b d  \nx=51");

            var provider = new ApplicationReleaseConfiguration(fileSystem);

            Assert.AreEqual("c b d", provider.GetString("abc"));
            Assert.AreEqual(51, provider.GetInt("x"));
        }
        public void TestNoFile()
        {
            fileSystem.Exists("app.ini").Returns(false);

            var provider = new ApplicationReleaseConfiguration(fileSystem);

            Assert.IsNull(provider.GetString("a"));
            Assert.IsNull(provider.GetInt("b"));
        }