Example #1
0
        public void CreateSubFolder_Should_OK()
        {
            var appFolderPath = new MyAppPath();

            appFolderPath.LogProperties();
            appFolderPath.CombinePath("A", "B").ShouldEqual(@"A\B");
            appFolderPath.CombinePath(@"A\", "B").ShouldEqual(@"A\B");
        }
Example #2
0
        public void CreateSubFolder_SubPath_Null_Should_Throw()
        {
            var appFolderPath = new MyAppPath();

            appFolderPath.LogProperties();
            appFolderPath.CombinePath("A", null);
        }