Example #1
0
        public void TimelineDao_Find_NotFoundException_IntegrationTest()
        {
            // Arrange
            ITimelineDao target = new TimelineDao();

            // Act
            Timeline result = target.Find(-1);
        }
Example #2
0
        public void TimelineDao_Find_IntegrationTest()
        {
            // Arrange
            ITimelineDao target = new TimelineDao();

            // Act
            Timeline result = target.Find(1);

            // Assert
            Assert.IsNotNull(result);
            Assert.AreEqual(1, result.Id);
        }