public void CommandAttribute_ViewModelTest_FluentAPI() { var viewModel = new CommandAttributeViewModel_FluentAPI(); CommandAttribute_ViewModelTestCore(viewModel, () => viewModel.MethodWithCanExecute(), () => viewModel.MethodWithCustomCanExecute()); Assert.AreSame(((ICustomTypeDescriptor)viewModel).GetProperties(), ((ICustomTypeDescriptor)viewModel).GetProperties()); }
public void CommandAttribute_ViewModelTest_FluentAPI() { var viewModel = new CommandAttributeViewModel_FluentAPI(); CommandAttribute_ViewModelTestCore(viewModel, () => viewModel.MethodWithCanExecute(), () => viewModel.MethodWithCustomCanExecute()); }