public void SetUp()
 {
     this.testee = new BuildDefinition(Url);
     this.buildTypeDto = new buildType
     {
         id = "buildId",
         name = "buildTypeName",
         description = "buildTypeDescprition",
         builds = new buildsref
                  {
                      href = "buildsHref"
                  }
     };
 }
        private void FillBuildDefinitions(IEnumerable<buildTyperef> buildTypeRefs)
        {
            foreach (var buildTypeRef in buildTypeRefs)
            {
                var buildDefinition = new BuildDefinition(buildTypeRef.href);
                this.buildDefinitions.Add(buildDefinition);

                buildDefinition.PropertyChanged += this.UpdateStatus;
            }

            this.OnPropertyChanged("BuildDefinitions");
        }