Esempio n. 1
0
        public void PictureMustBeDeletedWhenCallMethodDelete()
        {
            var model = new EditViewModel(null, null, null);

            model.DeletePicture();

            Assert.AreEqual(model.NewWord.Picture, null);
            Assert.AreEqual(model.NewWord.SourcePicture.UriSource.ToString(), Resource.getInstance().SourceNoImage.UriSource.ToString());
        }