public void Test_GetSizeOfValidPictures()
 {
     ISerieService serieService = ObjectFactory.GetInstance<ISerieService>();
     var serie = serieService.GetById(5);
     PictureService pictureService = new PictureService(serie.Id, EType.Serie);
     Assert.AreEqual(1, pictureService.GetSize());
 }
        public void Test_SavePicturesToGlobalFolder()
        {
            PictureService pictureService = new PictureService(2, EType.Instructions);
            List<Picture> pictures = pictureService.GetPictures();

            Assert.AreEqual(1, pictureService.GetSize());

            PictureHandler pictureHandler = new PictureHandler(pictures);
            pictureHandler.SavePictures();
        }
        public void Test_LoadPictures_NotACorrectPath()
        {
            PictureService pictureService = new PictureService(2, EType.Instructions);
            List<Picture> pictures = pictureService.GetPictures();

            Assert.AreEqual(1, pictureService.GetSize());

            PictureHandler pictureHandler = new PictureHandler(pictures);
            pictureHandler.LoadPictures();
        }
        public void Test_LoadPictures_NoPictureChosen()
        {
            PictureService pictureService = new PictureService(10, EType.Instructions);
            List<Picture> pictures = pictureService.GetPictures();

            Assert.AreEqual(0, pictureService.GetSize());

            PictureHandler pictureHandler = new PictureHandler(pictures);
            pictureHandler.LoadPictures();
        }