Пример #1
0
        public void GetAllPhotographersData()
        {
            MockDAL mock = new MockDAL();
            Dictionary <int, List <string> > allPhotographers = new Dictionary <int, List <string> >();

            mock.InsertAllPictures();
            mock.InsertAllEXIFData();
            mock.InsertAllIPTCData();
            mock.AddAndReturnPhotographer("Bruce", "Wayne", "01.19.2011", "");
            mock.AddAndReturnPhotographer("Homer", "Simpson", "01.19.2011", "");
            mock.AddAndReturnPhotographer("Peter", "Griffin", "01.19.2011", "");

            allPhotographers = mock.GetAllPhotographers();

            Assert.That(allPhotographers.Count, Is.EqualTo(3));
        }