SetBuildConfiguration() public méthode

public SetBuildConfiguration ( BuildConfiguration buildConfiguration ) : void
buildConfiguration BuildConfiguration
Résultat void
Exemple #1
0
        public void SetBuildConfiguration()
        {
            // Arrange
            var build = new Build(1, "2", BuildStatus.Success, new DateTime(), new DateTime(), new DateTime(), null,
                null,
                new List<Change>(), "",
                null, new TestOccurrences { Count = 0 }, BuildState.Finished);

            // Act
            build.SetBuildConfiguration(new BuildConfiguration {Id = "ConfigId"});

            // Assert
            build.BuildConfiguration.Id.Should().Be("ConfigId");
        }