Example #1
0
        public void MonsterUpdatePage_LevelChanged_Default_Should_Pass()
        {
            // Arrange
            var data      = new MonsterModel();
            var ViewModel = new GenericViewModel <MonsterModel>(data);

            page = new MonsterUpdatePage(ViewModel);
            int oldLevel = 1;
            int newLevel = 10;

            var args = new ValueChangedEventArgs(oldLevel, newLevel);

            // Act
            page.Changed_MonsterLevelPicker(null, args);

            // Reset

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