예제 #1
0
                public void Should_Throw_If_Context_Is_Null()
                {
                    // Given
                    var paths = new[] { "/Temp/DoNotExist" };

                    // When
                    var result = Record.Exception(() =>
                        DirectoryAliases.DeleteDirectories(null, paths));

                    // Then
                    Assert.IsArgumentNullException(result, "context");
                }