Example #1
0
        public void SetSelectedItemByKey()
        {
            var isftFacade = new SFTTestObject();

            isftFacade.SetSelectedItem(TestKey + 1);
            Assert.Same(isftFacade.SelectedItem, SFTTestObject.Bbb);

            Assert.True(true);
        }
Example #2
0
        public void SetSelectedItemByName()
        {
            var isftFacade = new SFTTestObject();

            // ... by name
            isftFacade.SetSelectedItem(SFTTestObject.Bbb.Name);
            Assert.Same(isftFacade.SelectedItem, SFTTestObject.Bbb);

            Assert.True(true);
        }