 
 
     /** Initialize captor with default value */
-    init(_ defaultValue: T? = nil) {
+    public init(_ defaultValue: T? = nil) {
         self.defaultValue = defaultValue
     }
 }



/** This class enables to capture arguments of any types */
class ArgumentCaptor<T> {

    /// Default value for construction
    fileprivate var defaultValue: T?

    }

    /// All captured values
    public var allValues: [T?] {
        var ret = [T?]()
        if let captureArg = self.arg {
            ret = captureArg.allValues.map { $0 as? T }.flatMap { $0 }
