Exemplo n.º 1
0
        public void GetNestedDirectory_RelativePath_NotExists()
        {
            // arrange
            var dir = new DirectoryEx(".\\Sample");

            // act
            var got = dir.TryGetNestedDirectory("KSW Doradztwo\\2018\\XYZ123", out var directory);

            // assert
            got.Should().BeFalse();
            directory.Should().BeNull();
        }