public void AddExistantDeliverableAgainShouldFail()
        {
            // Arrange
            var iteration = new IterationMother().Build();
            var deliverable = new DeliverableMother().Build();
            var expectedCount = 1;

            // Act
            try
            {
                iteration.AddDeliverable(deliverable);
                iteration.AddDeliverable(deliverable);
            }
            catch (Exception)
            {
                var actualCount = iteration.GetDeliverables().Count();
                Assert.AreEqual(expectedCount, actualCount);
                throw;
            }
        }
        public void AddDeliverableToIterationTest()
        {
            // Arrange
            var iteration = new IterationMother().Build();
            var deliverable = new DeliverableMother().Build();
            var originalCount = iteration.GetDeliverables().Count();
            var expectedCount = 1;

            // Act
            iteration.AddDeliverable(deliverable);
            var actual = iteration.GetDeliverable(deliverable.Id);
            var actualCount = iteration.GetDeliverables().Count();

            // Assert
            Assert.IsNotNull(actual);
            Assert.AreEqual(expectedCount, actualCount);
            Assert.AreNotEqual(originalCount, actualCount);
        }