public void Should_Set_WorkingDirectory() { // Given var settings = new LibManInstallSettings(); // When settings.FromPath(@"c:\temp"); // Then settings.WorkingDirectory.ToString().ShouldBe(@"c:/temp"); }
public void Should_Throw_If_Path_Is_Null() { // Given var settings = new LibManInstallSettings(); // When var result = Record.Exception(() => settings.FromPath(null)); // Then result.IsArgumentNullException("path"); }