protected override void Act()
 {
     addCommandForKeyedHashAlgorithmProvider =  
         CryptographyModel.CreateCollectionElementAddCommand(
             typeof(KeyedHashAlgorithmProviderData),hashProviderCollection)
             .First();
 }
        protected override void Arrange()
        {
            uiService = new Mock<IUIServiceWpf>();
            uiService.Setup(
                x =>
                x.ShowError(It.IsAny<Exception>(), It.IsAny<string>()))
             .Verifiable("Dialog not invoked.");


            command = new ExceptionThrowingCommand(uiService.Object);
        }
 protected override void Act()
 {
     var mockUIService = new Mock<IUIServiceWpf>();
     commandContainer = new DefaultElementCollectionAddCommand(polymorphicCollection, mockUIService.Object);
 }
 protected override void Act()
 {
     command = hashProviderCollection.First().Commands.First();
 }
 protected override void Act()
 {
     var sourceElement = configSourceSectionViewModel.DescendentConfigurationsOfType<ConfigurationSourceElement>().First();
     deleteCommand = sourceElement.DeleteCommand;
 }