public void DataSource_Notified() { var vm = new GenericTestBase(null); vm.MonitorEvents(); vm.DataSource = "My new datasource"; vm.ShouldRaisePropertyChangeFor(x => x.DataSource); }
public void DataSource_CanChange() { var vm = new GenericTestBase(null); vm.MonitorEvents(); vm.DataSource = "My new datasource"; vm.DataSource.Should().Be("My new datasource"); }
public void Structure_IsGenericBaseType() { var vm = new GenericTestBase(null); Assert.IsInstanceOf(typeof(BaseViewModel <String>), vm); }
public void Structure_IsBaseViewModel() { var vm = new GenericTestBase(null); Assert.IsInstanceOf(typeof(BaseViewModel), vm); }