public void Should_Return_The_Same_Configuration() { // Given var settings = new DotNetBuildSettings(new FilePath("./Test.sln")); // When var result = settings.WithProperty("PropertyName", "Value"); // Then Assert.Equal(settings, result); }
public void Should_Add_Property_To_Configuration() { // Given var settings = new DotNetBuildSettings(new FilePath("./Test.sln")); // When settings.WithProperty("PropertyName", "Value"); // Then Assert.True(settings.Properties.ContainsKey("PropertyName")); }