Example #1
0
        public void LoadOnStartup_AfterSetToFalse_ReturnsFalse()
        {
            var test = new CustomPathStartupFileLocator(_TestPath)
            {
                LoadOnStartup = false
            };

            Assert.False(test.LoadOnStartup);
        }
Example #2
0
        public void LoadOnStartup_WithoutBeingSet_ReturnsTrue()
        {
            var test = new CustomPathStartupFileLocator(_TestPath);

            Assert.True(test.LoadOnStartup);
        }
Example #3
0
        public void Path_GivenPath_ReturnsPath()
        {
            var test = new CustomPathStartupFileLocator(_TestPath);

            Assert.Equal(_TestPath, test.Path);
        }