Exemplo n.º 1
0
        public void AssignPhotographerToPicture()
        {
            MockDAL mock = new MockDAL();

            mock.InsertAllPictures();
            mock.InsertAllEXIFData();
            mock.InsertAllIPTCData();
            mock.AddAndReturnPhotographer("Bruce", "Wayne", "01.01.1990", "");

            mock.AssignPhotographertoPicture(2, 1);

            Assert.That(mock.PictureList[1].Photographer.FirstName, Is.EqualTo("Bruce"));
        }