public void Test_ExceptionThrowed_BaseService_Resolve(FrameworkType frameworkType)
        {
            // Arrange
            var executor = _commandExecutorBaseProvider.Get(frameworkType);
            var action   = new IdentityCommand <int>();

            // Act
            var exception = Assert.Throws <ArgumentException>(
                () => executor.ExecuteAction(action, throwOnException: true));

            // Assert
            Assert.IsType <Exception>(exception.InnerException);
        }
 public void ExecuteAction(IdentityCommand <int> action, bool throwOnException)
 {
     action.Execute(GetValue(), throwOnException);
 }