Exemple #1
0
        public void ItemUpdatePage_Save_Clicked_Default_Should_Pass()
        {
            // Arrange

            // Act
            page.Save_Clicked(null, null);

            // Reset

            // Assert
            Assert.IsTrue(true); // Got to here, so it happened...
        }
        public void ItemUpdatePage_Save_Clicked_Attribute_Unknown_Should_Pass()
        {
            // Arrange
            page.ViewModel.Data.Attribute = AttributeEnum.Unknown;

            // Act
            page.Save_Clicked(null, null);

            // Reset

            // Assert
            Assert.IsTrue(true); // Got to here, so it happened...
        }
Exemple #3
0
        public void ItemUpdatePage_Save_Clicked_Default_Should_Pass()
        {
            // Arrange
            var ViewModel = new ItemViewModel();

            var page = new ItemUpdatePage(ViewModel);

            // Act
            page.Save_Clicked(null, null);

            // Reset

            // Assert
            Assert.IsTrue(true); // Got to here, so it happened...
        }